University Project: Design and Implement an interactive 2D drawing application. Focuses on implementations of low-level algorithms like Bresenham’s line drawing and scanline fill. Developed on Windows platform, written in C++ using Win32 GDI.
FEATURES:
- Scanline fill produces all concave and convex polygons, with or without interior holes. The algorithm does not fail in any special case.
- Lines drawn with Bresenham’s midpoint line algorithm.
- Circles drawn with Bresenham’s midpoint circle algorithm and 8 way symmetry.
- Guidelines displayed when drawing polygons, lines, or any shapes.
TOOLS:
- Clear canvas function
- Freehand pencil tool
- Freehand eraser tool
- Line drawing tool
- Circles
- Rectangles
- User drawn polygons
Background colour also applies to any eraser lines.