logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
morphic  
#1 Posted : Monday, August 14, 2017 11:54:14 AM(UTC)
morphic

Rank: Newbie

Groups: Registered
Joined: 8/14/2017(UTC)
Posts: 3

I would like to snap to closest path object vertex under mouse.

I know I can loop through page objects and get all PdfPathObject's, but I can't figure out how to get vertices of path.
Is there a way to get path object vertices?

Or even better, ready function to call to get nearby vertex? :)
Paul Rayman  
#2 Posted : Tuesday, August 15, 2017 8:18:53 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
Hi,

We will release the revamped PdfPathObject class in few days.
It is in testing now.
morphic  
#3 Posted : Tuesday, August 15, 2017 11:51:39 AM(UTC)
morphic

Rank: Newbie

Groups: Registered
Joined: 8/14/2017(UTC)
Posts: 3

Great, Thank you!

P.S. I'm currently evaluating your library, so far everything looks good and support is fast!
Paul Rayman  
#4 Posted : Wednesday, August 16, 2017 5:43:21 PM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
morphic  
#5 Posted : Thursday, August 17, 2017 8:05:32 AM(UTC)
morphic

Rank: Newbie

Groups: Registered
Joined: 8/14/2017(UTC)
Posts: 3

Yeah! Works like a charm.

Maybe worth to mention in docs that PathPointsCollection points are not transformed and needs to be transformed w/ PdfPathObject.Matrix to get page coordinate.

Thanks.
Paul Rayman  
#6 Posted : Monday, August 21, 2017 6:34:31 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
Emm... this is a sad mistake and seems it's already fixed :)

https://forum.patagames....-on-Aug-21--2017#post925
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.