Inspect Core Graphics Object
How do you inspect or print the description of a Core Graphics object? --Richard ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Inspect Core Graphics Object
On 23/12/2009, at 4:33 AM, Richard Somers wrote: How do you inspect or print the description of a Core Graphics object? Core Graphics objects don't really have descriptions. You can do a 'po the object' in gdb as usual, but you get just the class name and address, and no more. What do you need to know? --Graham ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Inspect Core Graphics Object
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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com