> On Aug 24, 2016, at 8:02 PM, Britt Durbrow > <bdurb...@rattlesnakehillsoftworks.com> wrote: > > >> On Aug 24, 2016, at 12:59 PM, Jeff Szuhay <j...@szuhay.org> wrote: >> >> I draw my images (clocks) into a “reference” sized rectangle—for simplified >> position calculations—and then have CoreGraphics scale into the destination >> view rect. > > Don’t do that with bitmap scaling. It’s wasteful, and will look bad. > > Instead, create the bitmap at the correct size for it’s destination; and use > the drawing matrix transform functions (scale, translate, rotate, etc) to set > up your drawing environment.
Okay, so when the user changes the clock size (it’s destination), then recreate the bitmap to the new size and redraw everything at the new scale? _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com