https://github.com/horizon-nth/shapedrawer
ShapeDrawer is a small graphics application that lets you draw simple 2D shapes.
https://github.com/horizon-nth/shapedrawer
application cpp shape-drawer
Last synced: 15 days ago
JSON representation
ShapeDrawer is a small graphics application that lets you draw simple 2D shapes.
- Host: GitHub
- URL: https://github.com/horizon-nth/shapedrawer
- Owner: Horizon-NTH
- License: mit
- Created: 2023-11-12T10:29:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-11T19:30:22.000Z (about 2 years ago)
- Last Synced: 2025-02-22T11:26:46.660Z (over 1 year ago)
- Topics: application, cpp, shape-drawer
- Language: C++
- Homepage:
- Size: 1.08 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ShapeDrawer
[](https://github.com/Horizon-NTH/ShapeDrawer/releases)
[](https://en.wikipedia.org/wiki/C++)
[](LICENSE)

## Introduction
**ShapeDrawer** is a primitive shapes rendering application.
With just a few clicks or simple commands, you can create basic shapes such as circles, rectangles, triangles, and lines. Additionally, you can easily import shape files and save them to enhance the creation of your shapes.
## Installation Instructions
> You can also simply install a pre-built version [here](https://github.com/Horizon-NTH/ShapeDrawer/releases).
### Get Source Code
You first need to clone the [repository](https://github.com/Horizon-NTH/ShapeDrawer). Make sure to use [git](https://git-scm.com) and don't forget to include `--recurse-submodules` when cloning.
```bash
git clone https://github.com/Horizon-NTH/ShapeDrawer --recurse-submodules
```
You will now able to choose between [script](#script-installation) or [manual](#manual-installation) installation
- ### Script Installation
Use the [`install.sh`](https://github.com/Horizon-NTH/ShapeDrawer/blob/master/install.sh) script to compile the executable. You can choose to erase build files by adding `-e` / `--erase`.
```bash
./install.sh --erase
```
- ### Manual Installation
#### Create Build Environment
Ensure you have [CMake](https://cmake.org/) installed. Generate the build environment using CMake.
```bash
cd ShapeDrawer
mkdir build && cd build
cmake ..
```
#### Build
- ##### CMake
Build directly using CMake:
```bash
cmake --build .
```
This command will create all the executable in the main folder.
- ##### Microsoft Visual Studio
Alternatively, you can use [Microsoft Visual Studio](https://visualstudio.microsoft.com/) to launch the project and build it. Open the `shapedrawer.sln` file with Microsoft Visual Studio.
## Usage
To learn how to use this application, please refer to the [wiki](https://github.com/Horizon-NTH/ShapeDrawer/wiki).
## Dependencies
* **HorizonGUI**
The code relies on [HorizonGUI](https://github.com/Horizon-NTH/HorizonGUI) for all the graphics-related functionality of the application.
## License
ShapeDrawer is licensed under the [MIT license](https://github.com/Horizon-NTH/ShapeDrawer/blob/master/LICENSE).