I am using CALayers and a delegate to provide content with the method

- (void)drawLayer:(CALayer *)theLayer
        inContext:(CGContextRef)theContext

in the method I use CGImage to draw .png bitmaps of numerals that count up from 0. The .pngs all have transparency.

Everything works, the counter changes count, but as it changes you can see a slight transition between the two digits. It almost looks like a brief fade, but I don't have any animation applied to it.

I've tried throwing in a CGContextClearRect right before drawing the new bitmap, but it doesn't seem to work.

Any ideas why the drawing might be having this effect?

Ivy Feraco

_______________________________________________

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