• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CALayer drawing delay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CALayer drawing delay


  • Subject: CALayer drawing delay
  • From: Ivy Feraco <email@hidden>
  • Date: Thu, 27 Aug 2009 18:28:28 -0400


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 (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CALayer drawing delay
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: debugging a 64 bit app
  • Next by Date: ScriptingBridge error message
  • Previous by thread: Re: debugging a 64 bit app
  • Next by thread: Re: CALayer drawing delay
  • Index(es):
    • Date
    • Thread