![]() |
Pangolin
Header-only C++20 plane computational geometry library
|
Lightweight SVG canvas for drawing Pangolin shapes. More...
#include "implementation/distancelinf.hpp"#include "third_party/pdfgen.hpp"#include <algorithm>#include <array>#include <cctype>#include <cmath>#include <cstdint>#include <fstream>#include <limits>#include <memory>#include <optional>#include <ranges>#include <sstream>#include <stdexcept>#include <string>#include <tuple>#include <utility>#include <vector>#include <variant>Go to the source code of this file.
Classes | |
| struct | pgl::CanvasCommand |
| Deferred style update applied to the current canvas style. More... | |
| struct | pgl::CanvasStyle |
| SVG style captured for each inserted element. More... | |
| class | pgl::Canvas |
| Stores drawable objects and exports them as an SVG image. More... | |
Namespaces | |
| namespace | pgl |
Enumerations | |
| enum class | pgl::CanvasProperty { pgl::stroke , pgl::fill , pgl::fillOpacity , pgl::strokeOpacity , pgl::strokeWidth , pgl::pointRadius } |
| Names the style property targeted by a canvas command. More... | |
Functions | |
| CanvasCommand | pgl::stroke (std::string value) |
| Creates a command that changes the current stroke color. | |
| CanvasCommand | pgl::fill (std::string value) |
| Creates a command that changes the current fill color. | |
| CanvasCommand | pgl::fillOpacity (std::string value) |
| Creates a command that changes the current fill opacity. | |
| CanvasCommand | pgl::strokeOpacity (std::string value) |
| Creates a command that changes the current stroke opacity. | |
| CanvasCommand | pgl::strokeWidth (std::string value) |
| Creates a command that changes the current stroke width. | |
| CanvasCommand | pgl::pointRadius (std::string value) |
| Creates a command that changes the current point radius. | |
Lightweight SVG canvas for drawing Pangolin shapes.