MapXL / route-me

Automatically exported from code.google.com/p/route-me
0 stars 0 forks source link

Enhancement: Add settings for lineJoin and lineCap to RMPath #130

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Not sure if this is the place to submit this, but I'm attaching a diff to
add properties to set the lineCap and lineJoin styles for the path being
drawn in RMPath.  I've kept their defaults as standard, kCGLineCapButt and
kCGLineJoinMiter.

The main purpose of this is so I can set my cap and join styles to
kCGLineCapRound and kCGLineJoinRound, as I believe it looks better when a
path has many sharp turns.

Original issue reported on code.google.com by sirmal...@gmail.com on 25 Jan 2010 at 5:25

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the diff !
You are right paths look way better with kCGLineCapRound and kCGLineJoinRound 
set.
I commited the code to the repository.

Original comment by vladimir...@gmail.com on 9 Feb 2010 at 9:50