• 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: Inspect Core Graphics Object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inspect Core Graphics Object


  • Subject: Re: Inspect Core Graphics Object
  • From: "Henry McGilton (Boulevardier)" <email@hidden>
  • Date: Tue, 22 Dec 2009 20:43:30 -0800

On Dec 22, 2009, at 9:33 AM, Richard Somers wrote:

> How do you inspect or print the description of a Core Graphics object?

There's no analogue to the  -description  method of Objective-C frameworks.

Many of the specific Core Graphics types like CGColor and CGColorSpace and
CGImage and CGFont have various 'Get . . .' function calls that provide sundry information about
the object (CGColorGetComponents on CGColor, for instance).    For CGPath, there's
a CGPathApply by which you can play back the elements of the path, and so on.    You
have to look at the stuff on a case-by-case basis . . .

   Cheers,
       . . . . . . . .    Henry


iPhone App Developer Education --- visit  www.nonatomic-retain.com



_______________________________________________

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: 
 >Inspect Core Graphics Object (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: Core Data Migration
  • Next by Date: storing ivars in core data docs
  • Previous by thread: Re: Inspect Core Graphics Object
  • Next by thread: iPhone: Autorotation for a subview
  • Index(es):
    • Date
    • Thread