Re: +[NSColor colorWithPatternImage:] - set pattern origin?
Re: +[NSColor colorWithPatternImage:] - set pattern origin?
- Subject: Re: +[NSColor colorWithPatternImage:] - set pattern origin?
- From: glenn andreas <email@hidden>
- Date: Tue, 16 Aug 2005 13:45:21 -0500
On Aug 16, 2005, at 12:48 PM, Jim Correia wrote:
The documentation says:
+ (NSColor *)colorWithPatternImage:(NSImage *)image
Creates and returns an NSColor that uses the pattern in image. The
returned NSColor is autoreleased. The image is tiled starting at
the bottom of the window. The image is not scaled.
Is there some way to influence the pattern origin (so that it
starts at the origin of my view, for example)? Or must I tile the
image myself?
-NSGraphicsContext setPatternPhase:
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | build, mutate, evolve | images, textures, backgrounds, art
_______________________________________________
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