libosmscout icon indicating copy to clipboard operation
libosmscout copied to clipboard

Allow filling areas using simple line pattern

Open Framstag opened this issue 9 years ago • 1 comments

Allow to render simple line patterns as area fill (two colors, pen thickness and direction can be configured).


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Framstag avatar Jun 22 '16 15:06 Framstag

steps to do:

  • extend stylesheet syntax, style definition and parser
  • in renderer can be used similar code as for image patterns (in Qt here: MapPainterQt.cpp: 132). Just determine minimum size of pattern rectangle, create image (QImage in Qt backend), draw pattern to it, setup pattern texture for style brush...

Karry avatar May 16 '17 07:05 Karry