• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Fill box with repeating text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Fill box with repeating text (From: Dave Keck <email@hidden>)

  • Prev by Date: Re: passing complex objects between threads
  • Next by Date: Re: CF autorelease?
  • Previous by thread: Re: Fill box with repeating text
  • Next by thread: Re: Fill box with repeating text
  • Index(es):
    • Date
    • Thread