Opened 14 years ago
Closed 14 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)
Changed 14 years ago by
Attachment: | dashpattern.diff added |
---|
Changed 14 years ago by
Attachment: | dashpattern2.diff added |
---|
comment:1 Changed 14 years ago by
Added an updated patch, there were possibility for IllegalArgumentException if the pattern consisted only of zeros.
comment:2 Changed 14 years ago by
Component: | Core → Internal mappaint style |
---|---|
Owner: | changed from team to ulfl |
Updated patch