J
John Rivers
Hi
two things seem strange about this property
see the following working code:
// Graphics g;
Matrix tm = g.Transform.Clone();
tm.Translate(sin, cos, MatrixOrder.Prepend);
tm.Rotate(angle, MatrixOrder.Prepend);
tm.Translate(-box.Width, -box.Height, MatrixOrder.Prepend);
g.Transform = tm;
but this should be the equivalent:
g.Transform.Translate(sin, cos, MatrixOrder.Prepend);
g.Transform.Rotate(angle, MatrixOrder.Prepend);
g.Transform.Translate(box.Width, -box.Height, MatrixOrder.Prepend);
but this has a different outcome
can anybody see why?
two things seem strange about this property
see the following working code:
// Graphics g;
Matrix tm = g.Transform.Clone();
tm.Translate(sin, cos, MatrixOrder.Prepend);
tm.Rotate(angle, MatrixOrder.Prepend);
tm.Translate(-box.Width, -box.Height, MatrixOrder.Prepend);
g.Transform = tm;
but this should be the equivalent:
g.Transform.Translate(sin, cos, MatrixOrder.Prepend);
g.Transform.Rotate(angle, MatrixOrder.Prepend);
g.Transform.Translate(box.Width, -box.Height, MatrixOrder.Prepend);
but this has a different outcome
can anybody see why?