• 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
Re: Conversion to command line tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conversion to command line tool


  • Subject: Re: Conversion to command line tool
  • From: Michael Watson <email@hidden>
  • Date: Thu, 6 Dec 2007 03:38:42 -0500

All you're doing, in theory, is changing the context of your drawing from a view to another place (like an NSImage). Draw there instead, and then create your PDF from that.


-- m-s

On 06 Dec, 2007, at 00:14, D.K. Johnston wrote:

I've got a programme that uses an NSView to draw a map based on data from a file, and then saves it as a PDF file. I set up the NSView in Interface Builder of course. But now I want to convert it to a command line tool. I don't care about displaying the map: all I want to do is use the data to produce the PDF. Is there a straightforward way of doing this? Or do I have to hand-code the whole NSView thing?
_______________________________________________


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:
@bungie.org


This email sent to email@hidden

_______________________________________________

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


References: 
 >Conversion to command line tool (From: "D.K. Johnston" <email@hidden>)

  • Prev by Date: Enabling Caching in Web-kit based cocoa application
  • Next by Date: Re: CoreData and NSAttributedString
  • Previous by thread: Conversion to command line tool
  • Next by thread: Binary Data Format for NSTextView
  • Index(es):
    • Date
    • Thread