On Sat, Aug 04, 2012 at 08:48:20AM +1000, Graham Cox wrote: > > On 04/08/2012, at 6:55 AM, "Gary L. Wade" <garyw...@desisoftsystems.com> > wrote: > > > That "color" is actually a pattern. What are you doing that gives you the > > unexpected result? > > I'm expecting it to be a pattern, with a fairly obvious linen texture. > > I get the colour and i use it to -setBackgroundColor: on my scrollview (which > has a custom clip view so that the "page" is centered when it becomes smaller > than the visible rect, so revealing the background). > > If I create a colour directly from a texture image, it works fine, but using > this, I get a pale cream colour with no apparent texture.
I'm getting the pattern when I use it with -setBackgroundColor: on a scrollview. What do you get if you try it on an empty scrollview, perhaps in a new project just in case there's something else that prevents it from drawing? Marcus
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com