Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Translate, Rotate, Scale to System.Drawing.Drawing2D.Matrix
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.
|
|
|
|
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 Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Translate, Rotate, Scale to System.Drawing.Drawing2D.Matrix
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.