How would I go about drawing a terminus at the end of a path? I'm drawing a 
path in an overlay to a MKMapView, but I would like to somehow designate the 
end point of the path to differentiate it from the rest of the path.

        CGContextAddPath(context,path);
        CGContextSetRGBStrokeColor(context,0.0f,0.0f,1.0f,0.5f);
        CGContextSetLineJoin(context,kCGLineJoinRound);
        CGContextSetLineCap(context,kCGLineCapRound);
        CGContextSetLineWidth(context,lineWidth);
        CGContextSetShadow(context,offset_size,0.0);
        CGContextStrokePath(context);
        CGPathRelease(path);

Is there some kind of CGHighlightEndPointOfPath() call or its equivalent?

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to