Using XCode 3.2.6, OSX 10.6.8 - GC is on

I have three rects I am trying to stroke on all four sides using 
NSDrawTiledRects however only the first side listed in my NSRectEdge list gets 
drawn. I'm using the boundsRect as the clippingRect but that shouldn't should 
it? I did experiment with insetting the bounds rect 10 points as you can see 
bleow just in case it was getting clipped but it makes no diff.

NSRectEdge theSides[] = {NSMinXEdge,NSMaxXEdge,NSMinYEdge,NSMaxYEdge};
CGFloat theGrays[] = {NSBlack,NSBlack,NSBlack,NSBlack};

NSDrawTiledRects(NSInsetRect(theVendorTextRect,10,10), theVendorTextRect, 
theSides, theGrays, 1);
NSDrawTiledRects(theBillToTextRect, theBillToTextRect, theSides, theGrays, 1);
NSDrawTiledRects(theShipToTextRect, theShipToTextRect, theSides, theGrays, 1);

Anyone have any suggestions?


--Chris
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to