I have code the draw MyDrawingObject information on a
System.Drawing.Graphics object. The code is more/less the following:
void MyDrawingObject::Draw(ref System.Drawing.Graphics graphics, ref WindowDrawer windowdrawer)I now want to rotate / mirror the object i draw.
{
if(_mirror || _rotate != 0) {
// do something here?
}
foreach (drawelements.DrawElement element in _drawelements)
{
if (windowdrawer.LayerActive(element.Layer))
{
element.Draw(ref graphics, ref windowdrawer, _location);
}
)
}
I've looked at the System.Drawing.Drawing2D.Matrix, which can be applied
on the Transform property of the Graphics object, but it will work on
the complete graphics object and there is no mirror method in it.
Can somebody help me do this / give me some pointers?
--
Eduard Witteveen
+31 (0)6 414 789 23
nl_NL fy_NL en_US