libosmscout
libosmscout copied to clipboard
Allow filling areas using simple line pattern
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.
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...