rs-graphics

My graphics library


Project maintained by CaptainCrowbar Hosted on GitHub Pages — Theme by mattgraham

Graphics Library

By Ross Smith

GitHub repository

Overview

namespace RS::Graphics;

My library of basic graphics classes, highly generalized and templated.

Index

Using the library

You will need my header-only core utility library and my Unicode library.

There is a CMakeLists.txt file that can build and install the library using the usual CMake conventions. Command line usage will typically look like this:

cd wherever/you/installed/rs-graphics
mkdir build
cd build
cmake -G "Unix Makefiles" ../src
    # or cmake -G "Visual Studio 17 2022" ../src on Windows
cmake --build . --config Release
cmake --build . --config Release --target install'

The library’s public headers are listed above (other headers are for internal use only and should not be included by your code). To use the library, #include the individual headers you want. Link your build with -lrs-graphics.