Showing changes from revision #2 to #3:
Added | Removed | Changed
Offset | Meaning |
---|---|
+0 | Join style |
+1 | Start cap end style |
+2 | End cap end style |
+3 | 0 (reserved) |
+4 | Mitre limit, in form &ffff.ffff (the same form as |
+8,9 | Additional width of start triangular cap, |
+10,11 | Extension of start cap from line |
+12,13 | Additional width of end triangular cap |
+14,15 | Extension of end cap from line |
The mitre limit at offset 4, must be stored in the form &ffff.ffff
. If the distance projected by mitres would be greater than this proportion of the line width then it will be bevelled.
The values in offsets 8 thru 15, are stored in 1/256^th^ of line width.
If mitres and triangles are not used then the block may be 4 bytes long. If mitres are used, but triangles are not, then the block may be 8 bytes long.
Regrettably, triangles cannot be used on thin lines. It would have been possible to use absolute widths and lengths on thin paths, but alas this is not provided.