Go to file
2024-02-27 16:02:36 -03:00
src Initial Commit 2024-02-27 16:02:36 -03:00
build.bazel Initial Commit 2024-02-27 16:02:36 -03:00
LICENSE Initial Commit 2024-02-27 16:02:36 -03:00
README.md Initial Commit 2024-02-27 16:02:36 -03:00
workspace.bazel Initial Commit 2024-02-27 16:02:36 -03:00

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

  1. 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
      
  2. Running the Application:

    • After building the project, run the following command to execute the application:

      bazel-bin/skia_sdl2
      
  3. Drawing on the Canvas:

    • Once the application window opens, you can draw on the canvas using your cursor.
  4. 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.