Re: Inspect Core Graphics Object
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