Resolution independent NSImage
Resolution independent NSImage
- Subject: Resolution independent NSImage
- From: Jeff LaMarche <email@hidden>
- Date: Mon, 6 May 2002 08:50:47 -0700
I'd like to create a resolution independent NSImage file, but I haven't
figured out an easy way to add an EPS Representation to an NSImage
before drawing into it. The only way that I've figured to do this is to
create a view that draws itself, and then to call dataWithEPSInsideRect
and to instantiate an NSImage from that data. This works, but it seems
kinda kludgey and non-Cocoa (i.e. subclassing to do a relatively common
task). Is there a better way than this?
Thanks.
Jeff LaMarche
email@hidden
PGP Public Key Available Upon Request
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.