Click here to Skip to main content
15,898,599 members
Home / Discussions / C#
   

C#

 
GeneralRe: Client and Server Program Pin
SeMartens31-Mar-09 9:18
SeMartens31-Mar-09 9:18 
GeneralRe: Client and Server Program Pin
Vinziee1-Apr-09 0:29
Vinziee1-Apr-09 0:29 
AnswerRe: Client and Server Program Pin
musefan31-Mar-09 0:49
musefan31-Mar-09 0:49 
GeneralRe: Client and Server Program Pin
Vinziee31-Mar-09 1:23
Vinziee31-Mar-09 1:23 
GeneralRe: Client and Server Program Pin
EliottA31-Mar-09 2:15
EliottA31-Mar-09 2:15 
AnswerRe: Client and Server Program Pin
agent00zelda31-Mar-09 2:30
agent00zelda31-Mar-09 2:30 
GeneralRe: Client and Server Program Pin
Vinziee31-Mar-09 2:35
Vinziee31-Mar-09 2:35 
QuestionRotate and Resize a Rectangle Pin
Madmanxxx30-Mar-09 23:34
Madmanxxx30-Mar-09 23:34 
Guys,

I need your help here. Appreciate any advice as I am not familiar with matrix. Everyone is asking me to use matrix.

I have a rectangle that are draw using the on_paint function.

The users can rotate or resize the rectangle.

Currently I am using the m_graphics.RotateTransform(node.Angle);

If the user DOES NOT rotate and just resize, everything is good. Just like MS Office.

But once it is resize, everything when haywire. I am not able to use the mouse coordinate to track the height and width of the rectangle.

Anyone can help?

Thanks
Daniel
AnswerRe: Rotate and Resize a Rectangle Pin
Mustafa Ismail Mustafa30-Mar-09 23:40
Mustafa Ismail Mustafa30-Mar-09 23:40 
GeneralRe: Rotate and Resize a Rectangle Pin
Madmanxxx30-Mar-09 23:44
Madmanxxx30-Mar-09 23:44 
GeneralRe: Rotate and Resize a Rectangle Pin
Mustafa Ismail Mustafa31-Mar-09 0:07
Mustafa Ismail Mustafa31-Mar-09 0:07 
AnswerRe: Rotate and Resize a Rectangle Pin
musefan31-Mar-09 0:22
musefan31-Mar-09 0:22 
GeneralRe: Rotate and Resize a Rectangle Pin
Madmanxxx31-Mar-09 0:32
Madmanxxx31-Mar-09 0:32 
GeneralRe: Rotate and Resize a Rectangle Pin
musefan31-Mar-09 0:45
musefan31-Mar-09 0:45 
GeneralRe: Rotate and Resize a Rectangle Pin
Madmanxxx31-Mar-09 0:54
Madmanxxx31-Mar-09 0:54 
GeneralRe: Rotate and Resize a Rectangle Pin
musefan31-Mar-09 1:00
musefan31-Mar-09 1:00 
GeneralRe: Rotate and Resize a Rectangle Pin
Madmanxxx31-Mar-09 1:09
Madmanxxx31-Mar-09 1:09 
GeneralRe: Rotate and Resize a Rectangle Pin
musefan31-Mar-09 1:15
musefan31-Mar-09 1:15 
GeneralRe: Rotate and Resize a Rectangle Pin
Madmanxxx31-Mar-09 21:32
Madmanxxx31-Mar-09 21:32 
GeneralRe: Rotate and Resize a Rectangle Pin
musefan31-Mar-09 21:46
musefan31-Mar-09 21:46 
GeneralRe: Rotate and Resize a Rectangle Pin
Madmanxxx31-Mar-09 22:25
Madmanxxx31-Mar-09 22:25 
Questioncreate enum at run time Pin
a.hamidy30-Mar-09 23:13
a.hamidy30-Mar-09 23:13 
AnswerRe: create enum at run time Pin
musefan30-Mar-09 23:18
musefan30-Mar-09 23:18 
GeneralRe: create enum at run time Pin
a.hamidy31-Mar-09 0:14
a.hamidy31-Mar-09 0:14 
GeneralRe: create enum at run time Pin
musefan31-Mar-09 0:19
musefan31-Mar-09 0:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.