Re: Scaling a window background image quickly
Re: Scaling a window background image quickly
- Subject: Re: Scaling a window background image quickly
- From: Ricky Sharp <email@hidden>
- Date: Sun, 6 Apr 2008 19:55:10 -0500
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@hidden
Instant Interactive(tm) http://www.instantinteractive.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