Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa and PICT




On 09.08.2007, at 16:56, I. Savant wrote:

 I'm still hopeful that there's a way to get basic paths and fills
without too much trouble. It seems inconceivable that this is so
non-trivial ...

Quoting you, you deleted the non-trivial code necessary to draw - with just a tiny API subset - the same stuff :


>Quartz 2D has really helped me to show off Cocoa's
>goodness to the original developers (it's *much* easier and a *lot*
>prettier).

As Uli stated, you might avoid recording qd commands and emit the PICT opcodes directly.
Or you might bug the author of "the other" application to upgrade his App to parse / use PDFs.


I'd go the later route. PICT handling is not robust for anything but the plain, non-alpha "bitmap" case. Painful experience from converting PICT resources (with alpha) from some Quicktime sample code and some requirement to modify and convert cicn resources - with mask - under OS X.

Regards,
	Tom_E
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Cocoa and PICT (From: "I. Savant" <email@hidden>)
 >Re: Cocoa and PICT (From: Thomas Engelmeier <email@hidden>)
 >Re: Cocoa and PICT (From: "I. Savant" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.