Freehand drawing Bezier path - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1
  • 2

TOPIC: Freehand drawing Bezier path

Freehand drawing Bezier path 4 years 4 months ago #6787

  • Mahesh007
  • Mahesh007's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
How can i get bezierpath from freehand drawing from PDFAnnot.

Please Log in or Create an account to join the conversation.

Freehand drawing Bezier path 4 years 4 months ago #6795

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 847
  • Karma: 43
  • Thank you received: 12
do you means [PDFAnnot getInkPath] ?

Please Log in or Create an account to join the conversation.

Freehand drawing Bezier path 4 years 4 months ago #6799

  • Mahesh007
  • Mahesh007's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
i have to implement a functionality freehand drawing to text. so i have required either freehand drawing bezier path or annotation rectangle area so i will capture screen (free hand drawing annotation part).when i am using your sdk . there is no available api which provide me that kinds of data.
PDFPath *inkPath = [annot getInkPath];
but PDFPath does not give this kind of data.
this kind of functionality is available in other pdf annotation iOS sdk.

please provide some help on this topic.if i am missing something in your sdk.

Please Log in or Create an account to join the conversation.

Last edit: by felipe1234.

Freehand drawing Bezier path 4 years 4 months ago #6800

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 847
  • Karma: 43
  • Thank you received: 12
not sure what you mean.
if you want add freehand annotation to PDF file, just invoke [PDFView vInkStart] to enter ink status.
if you want add rect annotation to PDF file, just invoke [PDFView vRectStart] to enter rect status.
others, you can use [PDFPage addAnnotBitmap] with CGImage data.
what's your requirement?

Please Log in or Create an account to join the conversation.

Freehand drawing Bezier path 4 years 4 months ago #6801

  • Mahesh007
  • Mahesh007's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
PDFPath *inkPath = [annot getInkPath];

from the give statement i got PDFPath instance.but i have required either freehand drawing data which is bezier path or freehand drawing aannotation area size.i have attach screenshot with that. i have required that frame size from pdfview.
Attachments:

Please Log in or Create an account to join the conversation.

Freehand drawing Bezier path 4 years 4 months ago #6802

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 847
  • Karma: 43
  • Thank you received: 12
see [PDFView drawInk] to iterate all points from PDFInk path,
and it same behaviour as PDFPath.
about bound of ink annotation see [PDFAnnot getRect];

Please Log in or Create an account to join the conversation.

Last edit: by .
  • Page:
  • 1
  • 2
Powered by Kunena Forum