Re: Fill box with repeating text
Re: Fill box with repeating text
- Subject: Re: Fill box with repeating text
- From: Trygve Inda <email@hidden>
- Date: Sat, 25 Apr 2009 05:53:58 +0000
- Thread-topic: Fill box with repeating text
>> Where does this go as it is drawing the image, not the text? The image is
>> drawn with a RectFill call??
>
> Ah, sorry. I meant to say:
>
> NSRectFillUsingOperation(rect, NSCompositeSourceOver);
>
> Note that point here is that however the image is finally drawn, you
> have to make sure you're drawing it using the 'NSCompositeSourceOver'.
> NSRectFill will implicitly use NSCompositeCopy (as the docs mention).
>
> Does that do the trick?
>
> David
>
Indeed it does. Many thanks!
Trygve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden