Drawing vector graphics with GDI+. When the application is run, you are given a canvas where you can draw lines, rectangles and ellipses.
This project uses no third party libraries.
Once the repository is cloned, run the VectorGraphics project in the VectorGraphics solution and start drawing some vector graphics!
Use the drawing tools to draw the following shapes:
- Lines
- Rectangles
- Ellipses - Hold the CTRL key to draw circles.
Select the panning tool and use your mouse to drag the world around.
Use your mouse wheel to zoom in and out.
When a shape is drawn, it will have resizing controls attached to it. Use these to resize shapes.
Use the Pointer tool to select and resize shapes that you have already drawn to the canvas. Hold the CTRL key to select multiple shapes.
Use the arrow keys to move the currently selected shape around the canvas. Use the CTRL key in combination with the arrow keys to move shapes more precisely.
Use the DELETE key to delete the currently selected shape.
Use CTRL+S to save a drawing to a file. Files are saved as XML.
Use CTRL+O to open a drawing file.
Use CTRL+Z to undo shape drawing and movement. There is not currently support for undoing shape resizing.