On Apr 6, 2008, at 3:30 PM, Mike R. Manzano wrote:

It's a shame there isn't a more lightweight technology than Illustrator/PDF that lets you easily draw vector UI elements in a graphical editor with your application's performance in mind.


I create all my artwork with Illustrator and save to PDF. One of the main things I do while authoring is to simply all paths to contain the minimal amount of control points. After saving to PDF, I then run it through an optimization process to remove any PDF meta-data:

PDFDocument* thePDFDocument = [[[PDFDocument alloc] initWithData:theFileData] autorelease];

NSData* theData = [thePDFDocument dataRepresentation];

I then use NSFileManager's createFileAtPath:contents:attributes: to just write out the PDF data to the same file.

___________________________________________________________
Ricky A. Sharp         mailto:[EMAIL PROTECTED]
Instant Interactive(tm)   http://www.instantinteractive.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 [EMAIL PROTECTED]

Reply via email to