• 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: Draw NSBezierPath inside a PDFPage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Draw NSBezierPath inside a PDFPage


  • Subject: Re: Draw NSBezierPath inside a PDFPage
  • From: malcom <email@hidden>
  • Date: Sat, 7 Mar 2009 23:17:04 +0100

In fact I need to make a small editor that allow the user to draw and
edit NSBezierPath (like in Sketch example) inside a PDFPage and then
incorporate them inside the page (in a second moment). My temp
solution is to draw an image with the pdf rapresentation and then draw
it as background for my view...but if I could draw directly on PDFPage
it will be the best solution. I've tried to subclass PDFView but
nothing and PDFPage does not have necessary methods (or I have not
found it).

On Sat, Mar 7, 2009 at 10:19 PM, Antonio Nunes <email@hidden> wrote:
> On 7 Mar 2009, at 10:51, malcom wrote:
>
>> is possible to draw NSBezierPath inside a PDFPage? How?
>
> Yes it is. How, depends on what you want to do, but you provide no
> information about that. Is it for onscreen drawing only, or is it to be
> incorporated into the PDF page saved/printed? Are you using a PDFView or
> your own custom view to draw the page (do you want to draw the page at all)?
> Core Graphics level or PDFKit level?
>
> Apple provide a number of sample code projects that show how to use PDFKit.
> For one, you may find PDFKitLinker2 a useful resource to dive into, since it
> specifically draws NSBezierPaths on PDFPages.
>
> António
>
> -----------------------------------------------------------
> Don't believe everything you think
> -----------------------------------------------------------
>
>
>
>
>



--
www.malcom-mac.com - software for mac and iphone
Ted Turner  - "Sports is like a war without the killing."
_______________________________________________

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: Draw NSBezierPath inside a PDFPage
      • From: Antonio Nunes <email@hidden>
References: 
 >Draw NSBezierPath inside a PDFPage (From: malcom <email@hidden>)
 >Re: Draw NSBezierPath inside a PDFPage (From: Antonio Nunes <email@hidden>)

  • Prev by Date: Re: Trying to understand the cause of a "message sent to deallocated instance" error
  • Next by Date: Re: Why does my heartbeat thread crash?
  • Previous by thread: Re: Draw NSBezierPath inside a PDFPage
  • Next by thread: Re: Draw NSBezierPath inside a PDFPage
  • Index(es):
    • Date
    • Thread