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: "Alan Smith" <email@hidden>
- Date: Fri, 28 Jul 2006 11:45:12 -0400
Micheal -
I have indeed used colorWithPatternImage. I set that and then used
NSBezierPath's fillRect and NSRectFill. It has that "scrolling" which
was in my original post. It doesn't quite work.
I think it would work to fill a rect with colorWithPatternImage and
then grab a select piece of that filled rect and use that as the
image. The only problem is that I can't figure out how to get the
contents of the rect without first drawing it on screen. I don't want
to do that.
Shawn -
That probably would work but I want this to work on 10.2. CGLayers
originated in 10.4. Thanks anyways.
Thanks guys, we're real close, 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