RSHalo / VectorGraphics

Drawing vector graphics with GDI+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VectorGraphics

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.

Getting Started

Once the repository is cloned, run the VectorGraphics project in the VectorGraphics solution and start drawing some vector graphics!

Features

Drawing

Use the drawing tools to draw the following shapes:

  • Lines
  • Rectangles
  • Ellipses - Hold the CTRL key to draw circles.

Panning

Select the panning tool and use your mouse to drag the world around.

Zooming

Use your mouse wheel to zoom in and out.

Resizing

When a shape is drawn, it will have resizing controls attached to it. Use these to resize shapes.

Selecting

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.

Moving

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.

Deleting

Use the DELETE key to delete the currently selected shape.

Saving and Opening

Use CTRL+S to save a drawing to a file. Files are saved as XML.
Use CTRL+O to open a drawing file.

Other

Use CTRL+Z to undo shape drawing and movement. There is not currently support for undoing shape resizing.

About

Drawing vector graphics with GDI+


Languages

Language:C# 100.0%