Re: How do I pattern an image in a view w/o "scrolling"?
Re: How do I pattern an image in a view w/o "scrolling"?
- Subject: Re: How do I pattern an image in a view w/o "scrolling"?
- From: Shawn Erickson <email@hidden>
- Date: Fri, 28 Jul 2006 07:50:27 -0700
On Jul 28, 2006, at 7:28 AM, Alan Smith wrote:
Argh!! It's so close, and yet so far.
The only problem with that code (aside from the typos) is that when
drawInRect:fromRect:operation:fraction: is called it actually
stretches the image to fit the drawInRect. This is probably the
documented behavior. So since that doesn't work the whole thing is
garbage.
It could be done with a while loop but that doesn't seem very
efficient. Surly there is a faster way.
Consider...
<http://developer.apple.com/documentation/GraphicsImaging/Conceptual/
drawingwithquartz2d/dq_layers/chapter_13_section_1.html>
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden