├── font ├── entypo.ttf ├── Roboto-Bold.ttf ├── Roboto-Light.ttf ├── Roboto-Regular.ttf └── NotoEmoji-Regular.ttf ├── docs ├── bibliography.bib ├── examples.md ├── Doxyfile ├── footer.html ├── header.html └── user_concepts.md ├── .clang-format ├── .bettercodehub.yml ├── .gitignore ├── .github └── workflows │ ├── macos-unit.yml │ ├── windows-unit.yml │ ├── llvm-asan.yml │ ├── validate-files.yml │ ├── coverage.yml │ ├── ubuntu-unit.yml │ └── validate-and-deploy-files.yml ├── CONTRIBUTING.md ├── tests ├── CMakeLists.txt ├── DummyDraw.hpp ├── TestUserConcepts.cpp ├── TestFontManager.cpp ├── DummyDraw.cpp ├── TestStyle.cpp ├── TestGeometry.cpp ├── TestLegend.cpp ├── TestCSVDownloader.cpp ├── TestTransformMatrix.cpp ├── TestHistogram.cpp ├── TestColors.cpp ├── TestInteractive.cpp ├── TestBBox.cpp ├── TestAxis.cpp └── TestFigure.cpp ├── examples ├── CMakeLists.txt ├── Rectangle.cpp ├── Line.cpp ├── Points.cpp ├── LineStyle.cpp ├── FacetPoints.cpp ├── Histogram.cpp ├── AnimatedLine.cpp └── AnimatedPoints.cpp ├── LICENSE ├── src ├── frontend │ ├── Histogram.cpp │ ├── Legend.cpp │ ├── Geometry.tcc │ ├── DrawableDraw.hpp │ ├── DrawableDerived.hpp │ ├── Geometry.cpp │ ├── Legend.hpp │ ├── Transform.hpp │ ├── Drawable.cpp │ ├── Legend.tcc │ ├── Line.hpp │ ├── Histogram.hpp │ ├── Points.hpp │ ├── Rectangle.hpp │ ├── Figure.cpp │ ├── Transform.cpp │ ├── Figure.tcc │ ├── Figure.hpp │ └── Histogram.tcc ├── trase.hpp ├── util │ ├── Exception.hpp │ ├── Style.cpp │ ├── Style.hpp │ ├── CSVDownloader.hpp │ ├── ColumnIterator.hpp │ ├── Colors.hpp │ └── CSVDownloader.cpp └── backend │ └── Backend.cpp ├── .codedocs ├── third-party └── nanovg │ └── nanovg_gl_utils.h └── README.md /font/entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trase-cpp/trase/HEAD/font/entypo.ttf -------------------------------------------------------------------------------- /font/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trase-cpp/trase/HEAD/font/Roboto-Bold.ttf -------------------------------------------------------------------------------- /font/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trase-cpp/trase/HEAD/font/Roboto-Light.ttf -------------------------------------------------------------------------------- /font/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trase-cpp/trase/HEAD/font/Roboto-Regular.ttf -------------------------------------------------------------------------------- /font/NotoEmoji-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trase-cpp/trase/HEAD/font/NotoEmoji-Regular.ttf -------------------------------------------------------------------------------- /docs/bibliography.bib: -------------------------------------------------------------------------------- 1 | @book{wilkinson2006grammar, 2 | title={The grammar of graphics}, 3 | author={Wilkinson, Leland}, 4 | year={2006}, 5 | publisher={Springer Science \& Business Media} 6 | } 7 | -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | # This is a very mimimal clang-format config file, based on the LLVM style 3 | # 4 | # For more options see the clang-format documentation, or try using the 5 | # online clang-format generator: 6 | # https://zed0.co.uk/clang-format-configurator/ 7 | # 8 | 9 | BasedOnStyle: LLVM 10 | 11 | ... 12 | -------------------------------------------------------------------------------- /docs/examples.md: -------------------------------------------------------------------------------- 1 | Examples 2 | ======== 3 | 4 | This should be a list of examples: 5 | 6 | - @subpage example_line 7 | - @subpage example_animated_line 8 | - @subpage example_line_style 9 | - @subpage example_histogram 10 | - @subpage example_points 11 | - @subpage example_animated_points 12 | - @subpage example_rectangle 13 | 14 | -------------------------------------------------------------------------------- /.bettercodehub.yml: -------------------------------------------------------------------------------- 1 | component_depth: 2 2 | languages: 3 | - name: cpp 4 | production: 5 | exclude: 6 | - /tests/.*\.cpp 7 | - /third-party/.* 8 | - /docs/.* 9 | - /font/.* 10 | - /tests/catch.hpp 11 | test: 12 | include: 13 | - /tests/.*\.cpp 14 | - /examples/.*\.cpp 15 | exclude: 16 | - /third-party/.* 17 | - /docs/.* 18 | - /font/.* 19 | - /tests/catch.hpp 20 | -------------------------------------------------------------------------------- /docs/Doxyfile: -------------------------------------------------------------------------------- 1 | INPUT = README.md src docs docs/examples.md tests/TestUserConcepts.cpp examples 2 | RECURSIVE = YES 3 | USE_MDFILE_AS_MAINPAGE = README.md 4 | LAYOUT_FILE = docs/DoxygenLayout.xml 5 | EXAMPLE_PATH = examples 6 | GENERATE_TREEVIEW = YES 7 | CITE_BIB_FILES = docs/bibliography.bib 8 | HTML_EXTRA_STYLESHEET = docs/customdoxygen.css 9 | HTML_FOOTER = docs/footer.html 10 | HTML_HEADER = docs/header.html 11 | IMAGE_PATH = docs/figs 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Prerequisites 2 | *.d 3 | 4 | # Compiled Object files 5 | *.slo 6 | *.lo 7 | *.o 8 | *.obj 9 | 10 | # Precompiled Headers 11 | *.gch 12 | *.pch 13 | 14 | # Compiled Dynamic libraries 15 | *.so 16 | *.dylib 17 | *.dll 18 | 19 | # Fortran module files 20 | *.mod 21 | *.smod 22 | 23 | # Compiled Static libraries 24 | *.lai 25 | *.la 26 | *.a 27 | *.lib 28 | 29 | # Executables 30 | *.exe 31 | *.out 32 | *.app 33 | 34 | # Visual studio specific files 35 | .vs 36 | CMakeSettings.json 37 | 38 | # Clion specific files 39 | .idea 40 | cmake-build* 41 | 42 | # Build directories 43 | Debug 44 | Release 45 | 46 | # Python virtual environments 47 | venv 48 | -------------------------------------------------------------------------------- /docs/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
12 | 13 | 14 |
17 | $doxygenversion
18 |
19 |
20 |