메소드 | 설명 | |
---|---|---|
OnKeyDown ( |
Arrows key down will also yield the rotation transform.
|
|
OnMouseDown ( float width, float height, MouseEventArgs e ) : void |
Mouse down, initialize the transformation to identity.
|
|
OnMouseMove ( MouseEventArgs e ) : void |
Mouse move with left button press will yield the rotation transform, with right button press will yield scale transform.
|
메소드 | 설명 | |
---|---|---|
ProjectToTrackball ( double width, double height, |
Project canvas 2D point to the track ball.
|
|
Track ( |
Yield the rotation transform according to current 2D point in canvas.
|
|
Zoom ( |
Yield the scale transform according to current 2D point in canvas.
|
public OnKeyDown ( |
||
e | ||
리턴 | void |
public OnMouseDown ( float width, float height, MouseEventArgs e ) : void | ||
width | float | Canvas width |
height | float | Canvas height |
e | MouseEventArgs | |
리턴 | void |