This folder contains painting examples.
- DeviceContext shows how to create a form and catch paint event.
- GraphicsContext shows how to create a form and catch paint event.
To build this project, open "Terminal" and type following lines:
mkdir build && cd build
cmake ..
start Painting.sln
Select any project and type Ctrl+F5 to build and run it.
mkdir build && cd build
cmake .. -G "Xcode"
open ./Painting.xcodeproj
Select any project and type Cmd+R to build and run it.
mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./Painting.cbp > /dev/null 2>&1
Select any project and type F10 to build and run it.
mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject