There is a good one in the Quartz 2D Programming Guide in the Patterns section
- Will > On Jun 2, 2017, at 6:56 AM, Dave <[email protected]> wrote: > > Hi, > > I want to draw a 5 sided Star Shape using UIBezierPath. I’ve search for a > general purpose algorithm, but I can’t find anything that I can get to work > with Cocoa/Objective-C. > > This code is to go into a UIView subclass in the drawRect: method. > > If anyone has some code that will draw a decent looking star I’d be really > grateful. > > Thanks a lot > All the Best > Dave > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/wfscherrer%40icloud.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
