For orientation, you need to use System.Drawing.Graphics.Transform:
http://msdn.microsoft.com/en-us/library/system.drawing.graphics.transform.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.drawing.drawing2d.matrix.aspx[
^].
Besides, it looks you are trying to use the class
PictureBox
with something interactive. In principle, you could, but it makes no sense at all. You get nothing from this control, except a lot of extra useless development work and eating up extra resources. The only purpose of this control is to provide simplified way of presenting a simple image, usually static. You need to draw immediately on your control, typically derived from
System.Windows.Forms.Control
. I explain it in my past answers:
How do I clear a panel from old drawing[
^],
draw a rectangle in C#[
^],
Append a picture within picturebox[
^].
Instead of helping developers, this
PictureBox
control became a real curse of the beginners. Too much time lost for wrong development and explanations of what should be done. Don't go in wrong direction.
For some more detail on rendering, please also see these answers:
Drawing Lines between mdi child forms[
^],
capture the drawing on a panel[
^],
What kind of playful method is Paint? (DataGridViewImageCell.Paint(...))[
^].
Good luck,
—SA