PDFPath bounding rect - 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

TOPIC: PDFPath bounding rect

PDFPath bounding rect 3 years 9 months ago #8507

  • Elaine
  • Elaine's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Hi,

I am creating images using the PDFPath methods. Is it possible to retrieve the bounding rect for that path? Something similar to the CGContectGetPathBoundingBox?

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

PDFPath bounding rect 3 years 9 months ago #8515

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Hi,

at the moment doesn't exist a specific method to calculate path bounds, but I think it's possible to calculate it using PDFPath methods like -(int)node:(int)index :(PDF_POINT *)pt; that returns the point of a single node, so you can calculate the rect.

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

  • Page:
  • 1
Powered by Kunena Forum