I'm using colorWithPatternImage to fill an NSView. It works fine
except I don't want it to scroll around. I want the image to be
"locked." This problem was encountered before by several people:
But neither seem to have an easy-to-use working solution. I tried the
setPatternPhase: of NSGraphicsContext technique but it didn't seem to
have any affect. The other technique doesn't seem like it should be
the only way to do it. It doesn't make a lot of sense. Also, you would
think Apple would have figured this out and added some way to fix it.
If there is some way to fill a NSView with a 1px wide image than using
NSColor to set the color and then use
NSRectFill/fillRect(NSBezierPath) I would love to know about it.
Thanks for any help, 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden