The intention behind this project is to be a simple guideline\inspiration of working with GDI+, mainly the ability to draw and move shapes on a UI(winforms) without lagging or flickering.
This project Offer:
- The ability to Draw primitive figures on a resizable Canvas.
Figures are:
- Line.
- Rectangle.
- Circle.
- Curve
- (More figure types can be added through implementing IShape interface).
- Drawing in Manual mode or Free mode (Set points for the figure, or just move the mouse to see the shape freely drawn and sized)
- Draw One figure at a time, or in Continuous connected figures.
- Select Stroke, Thickness, Fill to figures.
- Moving drawn figures around (Left mouse button + ctrl).
- Deleting figures (mouse on figure border + Delete key)
- Undo\Redo drawn figures.
- Reset Canvas.
- Change Canvas Bachground Color.
- Load Background Image for the canvas from deffrent Image Formats (png, bmp, jpg, jpeg, gif).
- Remove canvas background image.
- Taskbar show canvas size and mouse coordinates.
- Save drawn Canvas to File of deffrent Image formats (png, bmp, jpg, gif, tif).
© Usama Safi Yassir
Licensed under MIT License.