This is a basic 2D paint program (like MS paint) written in C++ and OpenGL for university coursework. Tested on Windows and Linux.
- Draw with pen tool
- Move blocks of pixels around
- Fill in areas
- Select from palette of colours
- Draw rectangles and circles/elipses
- Save and load your files
- Basic menus
- Some custom dialogues: alert messages, yes/no dialogues, open/save file, etc
- The canvas is stored as a 2D array of pixels (each pixel containing 3 floats) in system memory. It is not compressed. This means saving, loading and colour filling features may take a few seconds for your system to process them since they are moving around and modifying large amounts of data.
- No resizing objects or transparency support
- I was limited to OpenGL and C++ standard librarys so no native UI, not even Open/Save File Dialogues, etc.
- Files are saved as .dti files in the application directory. They are just text files containing the colour array. No compression applied to files.
- No clipboard or undo/redo
- Move tool is very basic. Select area by drawing square, use arrow keys to move. It will delete anything in it's path while moving it.
- I am no artist. It doesn't look great.
Includes a Makefile for linux.
make -f Makefile.linux main
./main
Use it however you like, for whatever you like.