FROM : Alan Smith
DATE : Fri Jul 28 18:26:12 2006
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."
DATE : Fri Jul 28 18:26:12 2006
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."






Cocoa mail archive

