Rotate rect
-
Hi All, Prerequisites: * VC#.NET and GDI+. * Windows forms. * A rectangle is drawn on the form along with rect tracker. Problem: How to rotate rect and rect tracker?
Hint: Take a look at classes in System.Drawing.Drawing2D namespace, namely Matrix class.
[My Blog]
"Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - RĂ¼diger Klaehn
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe -
Hi All, Prerequisites: * VC#.NET and GDI+. * Windows forms. * A rectangle is drawn on the form along with rect tracker. Problem: How to rotate rect and rect tracker?
Write some code in C# that rotates the rectangle and tracker. Sheesh, come on. We don't write your code for you - if you want that try rentacoder.com. Write some code and if it doesn't work, show it to us so that we know that you've at least tried for yourself.
Deja View - the feeling that you've seen this post before.
-
Write some code in C# that rotates the rectangle and tracker. Sheesh, come on. We don't write your code for you - if you want that try rentacoder.com. Write some code and if it doesn't work, show it to us so that we know that you've at least tried for yourself.
Deja View - the feeling that you've seen this post before.
-
Hi All, Prerequisites: * VC#.NET and GDI+. * Windows forms. * A rectangle is drawn on the form along with rect tracker. Problem: How to rotate rect and rect tracker?
Don't you just swap the Height and Width of the rectangle? :-D