Drawing Project

Created on: 09/10/2023
Worked on by: Thomas Lower

This project was developed as a part of my course at Bournemouth University.

Goal

The purpose of the project was to introduce me to C++ and SDL2. The program was designed to be able to paint to a canvas and export this as a file, similar to Microsoft Paint.

UI

The UI is rather basic as it only needed to provide limited functionality.

A screenshot of an empty canvas within the drawing program

A screenshot of an empty canvas within the drawing program

The UI is responsive to the window size and allows the user to control:

Programming Design

The project uses an object oriented approach for both UI and functionality where all UI elements are children of an “Area” Base class. Many techniques used in this project are originally from other drawing capable systems, such as line interpolation rather than pixel colouring from Microsoft Onenote.

Try it yourself

To view the code and run it yourself (makefile included) find the Github repo here.

#Solo #C #C++ #Software Engineering #Programming #Front End #Back End #Full Stack #University Assignment