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, June 23, 2010 10:58:35 AM(UTC)
ChingYen

Rank: Advanced Member

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

Thanks: 8 times
Hi,

If we have the value for Rotation, Translate, Scale value, how can we transform it to System.Drawing.Drawing2D.Matrix value?

Please advise.
Tamila  
#2 Posted : Wednesday, June 23, 2010 6:08:46 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Guest
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi ChingYen,

System.Drawing.Drawing2D.Matrix has appropriate methods for Rotation, Translate, Scale. For example:
Code:
Dim matrix As New System.Drawing.Drawing2D.Matrix()
matrix.Rotate(Rotation)
matrix.Scale(Scale.x, Scale.y)
matrix.Translate(Translate.x, Translate.y)

I hope it helps you.

Edited by user Wednesday, June 23, 2010 6:09:28 PM(UTC)  | Reason: Not specified

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
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.