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: Michael Watson <email@hidden>
- Date: Fri, 28 Jul 2006 10:51:40 -0400
Hmm, yeah. I know I've done this before.
Perhaps I did it with -colorWithPatternImage from NSColor. Have you
experimented with that?
--
m
On 28 Jul, 2006, at 10:28, 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.
Thanks for helping me, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"Don't waste your life doing things others have already done."
_______________________________________________
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