• 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: Clipping drawing printed to PDF?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clipping drawing printed to PDF?


  • Subject: Re: Clipping drawing printed to PDF?
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 8 Jan 2008 06:51:08 -0500

I have an NSView that intentionally draws some graphics out of the view's frame, so that part of the graphics get clipped. When the view is drawn to screen or the printer, the graphics are clipped correctly, so only part of the graphic is drawn in the view and the other part doesn't appear. When the view is drawn to PDF, however, using -dataWithPDFInsideRect:, then the graphics that are supposed to be clipped end up being drawn over the top of another subview of the superview. How do I stop this from occurring?

http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaDrawingGuide/GraphicsContexts/chapter_3_section_3.html

  See "Setting the Clipping Region".

--
I.S.


_______________________________________________

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: 
 >Clipping drawing printed to PDF? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Core Image generate histogram?
  • Next by Date: Re: read stderr with AuthorizationExecuteWithPrivileges
  • Previous by thread: Clipping drawing printed to PDF?
  • Next by thread: Hide group name panel in ABPeoplePicker
  • Index(es):
    • Date
    • Thread