• 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
Re: Newbie *me = [[Newbie alloc] initWithProblem:customViewDrawing];
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie *me = [[Newbie alloc] initWithProblem:customViewDrawing];


  • Subject: Re: Newbie *me = [[Newbie alloc] initWithProblem:customViewDrawing];
  • From: Kevin Callahan <email@hidden>
  • Date: Wed, 21 Aug 2002 16:30:38 -0700

On Wednesday, August 21, 2002, at 04:03 PM, Jeff Martirano wrote:

Hello all,

I'm trying to do something which would seem very simple. I have a drawRect method in a custom view that draws multiple items: a background image, some images that move across the screen, and some text. The animated images are drawn fine over the background image, but the text for some reason is always drawn underneath the background image so it can't be seen. Is there any way of specifying the order in which drawRect layers different elements?

Objects will get drawn in the order they are called. So if you want your text to draw on top, draw it last in your method.

Kevin


Thanks,

Jeff
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


- Kevin
o#?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Newbie *me = [[Newbie alloc] initWithProblem:customViewDrawing]; (From: Jeff Martirano <email@hidden>)

  • Prev by Date: Re: Newbie *me = [[Newbie alloc] initWithProblem:customViewDrawing];
  • Next by Date: Re: NEWBIE: preferences - howto?
  • Previous by thread: Re: Newbie *me = [[Newbie alloc] initWithProblem:customViewDrawing];
  • Next by thread: Re: Newbie *me = [[Newbie alloc] initWithProblem:customViewDrawing];
  • Index(es):
    • Date
    • Thread