Opened 15 years ago
Closed 15 years ago
#2667 closed enhancement (fixed)
[PATCH] Add support for dash patterns
Reported by: | Daeron | Owned by: | ulfl |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Internal mappaint style | Version: | latest |
Keywords: | Cc: |
Description
This patch adds support for dash patterns in line rendering, i.e. it is now possible to define the widths of the dashes and gaps separately, and more complicated patterns also are possible.
I've also changed the style of barrier=bollard to use this new feature, as a proof of concept. It now shows as 3 pixel squares spaced 9 pixels apart.
Attachments (4)
Change History (7)
by , 15 years ago
Attachment: | dashpattern.diff added |
---|
by , 15 years ago
Attachment: | dashpattern2.diff added |
---|
comment:1 by , 15 years ago
Added an updated patch, there were possibility for IllegalArgumentException if the pattern consisted only of zeros.
comment:2 by , 15 years ago
Component: | Core → Internal mappaint style |
---|---|
Owner: | changed from | to
Updated patch