Re: Newbie *me = [[Newbie alloc] initWithProblem:customViewDrawing];
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.