E
Eduard Witteveen
Hello list,
I have code the draw MyDrawingObject information on a
System.Drawing.Graphics object. The code is more/less the following:
I now want to rotate / mirror the object i draw.
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?
I have code the draw MyDrawingObject information on a
System.Drawing.Graphics object. The code is more/less the following:
void MyDrawingObject:raw(ref System.Drawing.Graphics graphics, ref WindowDrawer windowdrawer)
{
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 now want to rotate / mirror the object i draw.
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?