• 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
Printing graphics plus text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printing graphics plus text


  • Subject: Printing graphics plus text
  • From: Scott Steinman <email@hidden>
  • Date: Sat, 11 Jun 2011 00:58:40 -0500

Please forgive me if my question is stupid.  It's frustrating being a Cocoa noobie after 30 years of scientific programming, but I'm doing my best to learn.

I'm working on an application that displays a diagram I have drawn in a custom view to represent data input by the user.  I'd like to print that diagram plus the input values.  I've read explanations and examples in Apple's documentation, my library of Cocoa books, and from web searches. Each explains only how to print either a view graphics or a view containing text by instantiating an offscreen instance of that single view and redrawing its contents for printing.

Unfortunately, none of them shows how to print two views containing different contents.  Can the offscreen view contain subviews that each know how to draw themselves?

Thank you in advance for your help.  Unless I run into a problem, I won't respond here so I don't decrease the signal to noise ratio of this list.

Scott
_______________________________________________

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

  • Follow-Ups:
    • Re: Printing graphics plus text
      • From: Eli Bach <email@hidden>
  • Prev by Date: Re: changing file name when copying a file in the same directory
  • Next by Date: NS_BUILD_32_LIKE_64
  • Previous by thread: Re: ObjC stdin equivalent? and other questions
  • Next by thread: Re: Printing graphics plus text
  • Index(es):
    • Date
    • Thread