src | ||
build.bazel | ||
LICENSE | ||
README.md | ||
workspace.bazel |
nanote
nanote is a simple drawing application written in C++20 that uses Skia for graphics rendering and SDL2 for window creation and event handling. The application allows users to draw on the window using the cursor.
Description
This application provides a basic canvas where users can draw using their cursor. It utilizes Skia, a powerful 2D graphics library, for rendering graphics, and SDL2, a popular cross-platform development library, for window creation and event handling.
Usage
-
Building the Project:
-
Make sure you have Bazel installed on your system.
-
Navigate to the project directory.
-
Run the following command to build the project:
bazel build //:skia_sdl2
-
-
Running the Application:
-
After building the project, run the following command to execute the application:
bazel-bin/skia_sdl2
-
-
Drawing on the Canvas:
- Once the application window opens, you can draw on the canvas using your cursor.
-
Exiting the Application:
- To exit the application, simply close the window.
Dependencies
- Skia: A powerful 2D graphics library.
- SDL2: A cross-platform development library providing low-level access to audio, keyboard, mouse, and display.
License
This project is licensed under the MIT License - see the LICENSE file for details.