This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
ChingYen  
#1 Posted : Wednesday, September 8, 2010 4:21:44 PM(UTC)
ChingYen

Rank: Advanced Member

Groups: Guest
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
Hi,

Wondering is there any method that can let us "un-skew" the VObject that is being skewed?

Please advise.
Dmitry.Obukhov  
#2 Posted : Thursday, September 9, 2010 5:48:19 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Guest
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Ching-Yen,

Thank you for your question.

There is Transform property which gets/sets a matrix of the transformation of VObjects. This property can be applied to any vector objects. I created simple win application and attached it for your reference. It allows adding a skewed rectangle. Please download and try out this sample.

If you have any additional questions, please let me know.
File Attachment(s):
SkewedVObjects.zip (2,008kb) downloaded 4 time(s).
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
ChingYen  
#3 Posted : Saturday, September 11, 2010 10:04:40 PM(UTC)
ChingYen

Rank: Advanced Member

Groups: Guest
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
Hi,

Thanks for the reply. I guess I didn't make my question clear...

What we need is, let say, the user accidentally "skew" the VObject by dragging on it, and we would like to have a method for them to "resume" it.

Is that possible?

From the example given, I would like to have a button called "reset" so that the rectangle would be transform back to the rectangle without skew. Thanks.
Dmitry.Obukhov  
#4 Posted : Sunday, September 12, 2010 8:30:11 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Guest
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Ching-Yen,

Thanks for your explanation.

Unfortunately, there is no way to implement any method, which allows resetting skew transformation. I advise you to disable skew functionality of VObject at all. If you need additional information how to do it, please let me know.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Guest (2)
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.