On Mar 13, 2012, at 5:27 PM, Jens Alfke wrote: > > On Mar 13, 2012, at 4:33 PM, Chris Tracewell wrote: > >> NSDrawTiledRects(NSInsetRect(theVendorTextRect,10,10), theVendorTextRect, >> theSides, theGrays, 1); >> NSDrawTiledRects(theBillToTextRect, theBillToTextRect, theSides, theGrays, >> 1); >> NSDrawTiledRects(theShipToTextRect, theShipToTextRect, theSides, theGrays, >> 1); > > The last parameter is 1, so you’re only telling it to draw one edge. It looks > like you meant to specify 4. (The count parameter should match the sizes of > the arrays you pass for sides and grays.) > > —Jens
Thanks Jen and also to John Brown. That fixed it. I had read the docs for the count parameter to mean stroke thickness. --Chris _______________________________________________ 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