On 01/10/2012, at 11:02 AM, Andres Kievsky <[email protected]> wrote:
> Then I would render each font in a small, low resolution bitmap (say, 10x10) > and then use that bitmap to find the centres around which to draw circles. > > So if you have a bit set at (5,5) in the low res bitmap, and you want to > render it in a 100x100 size, just draw a circle around (50,50). Repeat for > any other bits that are set. You can achieve this effect using a dashed line. Setting the end caps to round and the spacing to zero for the dash produces a series of round circles along the path. It's much faster and easier than your method, though coming up with the exact spacing and line width needed to fit a given path exactly takes a bit of working out. --Graham _______________________________________________ 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]
