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 12:26:12 -0400
Glenn -
Yes. I tried that:
NSPoint visOrigin = [self visibleRect].origin;
[[NSGraphicsContext graphicsContextWithWindow: [self window]]
setPatternPhase:NSMakePoint(visOrigin.x, visOrigin.y)];
[[NSColor colorWithPatternImage: pattern] set];
[NSBezierPath fillRect: [self bounds]];
It doesn't have any affect. :(
Thanks anyhow, 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