I am dealing with the shape drawing functions in C# and I am trying to resize DrawingGroup after drawing some shapes on it.
Here is my code:
DrawingGroup drawingGroup = new DrawingGroup(); Pen redPen = new Pen( Brushes.Red, 2 ); DrawingContext drawingContext = drawingGroup.Open() drawingContext.DrawRectangle( null, redPen, rect); double scale = 1.5; DrawingGroup resizedDrawingGroup = ?
How can I resize "drawingGroup"? Is it even possible?