• 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: Font Color In CTLineDraw?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font Color In CTLineDraw?


  • Subject: Re: Font Color In CTLineDraw?
  • From: Mike Rossetti <email@hidden>
  • Date: Wed, 03 Sep 2008 20:30:32 -0600

Jean-Daniel,

That was it!  Thanks a bunch!

Mike

On Sep 3, 2008, at 10:04 AM, Jean-Daniel Dupas wrote:

Create an NSGraphicsContext from you CGContext:

+ [NSGraphicsContext graphicsContextWithGraphicsPort:flipped:];

Set it as the current context

+ [NSGraphicsContext setCurrentContext:];

And now you should be able to draw string into your CGContext.

_______________________________________________

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: 
 >Font Color In CTLineDraw? (From: Mike Rossetti <email@hidden>)
 >Re: Font Color In CTLineDraw? (From: David Duncan <email@hidden>)
 >Re: Font Color In CTLineDraw? (From: Mike Rossetti <email@hidden>)
 >Re: Font Color In CTLineDraw? (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: cmd+w and File menu
  • Next by Date: Re: NSString/NSMutable String Concatenation
  • Previous by thread: Re: Font Color In CTLineDraw?
  • Next by thread: [OT] curious about the iPhone dev program
  • Index(es):
    • Date
    • Thread