https://github.com/lszl84/wx_transforms_tutorial
Practical Affine Transformations for a 2D Paint App in C++
https://github.com/lszl84/wx_transforms_tutorial
affine-transformation cpp desktop-app drawing transformations wxwidgets
Last synced: about 4 hours ago
JSON representation
Practical Affine Transformations for a 2D Paint App in C++
- Host: GitHub
- URL: https://github.com/lszl84/wx_transforms_tutorial
- Owner: lszl84
- License: mit
- Created: 2023-06-26T10:36:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-18T14:42:53.000Z (about 1 year ago)
- Last Synced: 2025-05-18T15:36:00.591Z (about 1 year ago)
- Topics: affine-transformation, cpp, desktop-app, drawing, transformations, wxwidgets
- Language: C++
- Homepage: https://www.lukesdevtutorials.com
- Size: 221 KB
- Stars: 8
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wx_transforms_tutorial
Implementing Affine Transformations in C++ in a Paint App to let the user change the size, position, and rotation of an object interactively.
[](https://www.youtube.com/watch?v=hYhM2tLwQKs)
Full Tutorial: https://www.youtube.com/watch?v=hYhM2tLwQKs
## Requirements
This works on Windows, Mac, and Linux. You'll need `cmake` and a C++ compiler (tested on `clang`, `gcc`, and MSVC).
Linux builds require the GTK3 library and headers installed in the system.
## Building
To build the project, use:
```bash
cmake -S. -Bbuild
cmake --build build
```
This will create a directory named `build` and create all build artifacts there. The main executable can be found in the `build/subprojects/Build/wx_transforms_tutorial_core` folder.
---
Check out the blog for more! [www.onlyfastcode.com](https://www.onlyfastcode.com)
---