• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Resolution independent NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: REPOST: Lossless PDF scaling
  • Next by Date: Re: How do I change the default scrolling behavior
  • Previous by thread: Re: REPOST: Lossless PDF scaling
  • Next by thread: Re: How do I change the default scrolling behavior
  • Index(es):
    • Date
    • Thread