7#include "../bitmap/rgba.h"
69std::string
exportSVG(
const std::vector<geometrize::ShapeResult>& data,
const std::uint32_t width,
const std::uint32_t height, SVGExportOptions options = SVGExportOptions{});
std::string getSingleShapeSVGData(const geometrize::rgba &color, const geometrize::Shape &shape, SVGExportOptions options)
getSvgShapeData Gets the SVG data for a single shape. This is just the <rect>/<path> etc block for th...
Definition: svgexporter.cpp:240
std::string exportSingleShapeSVG(const geometrize::rgba &color, const geometrize::Shape &shape, const std::uint32_t width, const std::uint32_t height, SVGExportOptions options)
exportSVG Exports a single shape as a complete SVG image.
Definition: svgexporter.cpp:245
static const std::string SVG_STYLE_HOOK
SVG_STYLE_HOOK A hook that an SVG exporter should use to augment shape styling produced by the getSvg...
Definition: svgexporter.h:24
std::string exportSVG(const std::vector< geometrize::ShapeResult > &data, const std::uint32_t width, const std::uint32_t height, SVGExportOptions options)
exportSVG Exports shape data as a complete SVG image.
Definition: svgexporter.cpp:261
RotatedEllipseSVGExportMode
Definition: svgexporter.h:27
The SVGExportOptions struct represents the options that can be set for the SVG export.
Definition: svgexporter.h:36
std::size_t itemId
Definition: svgexporter.h:38
RotatedEllipseSVGExportMode rotatedEllipseExportMode
Definition: svgexporter.h:37
The rgba struct is a helper for manipulating RGBA8888 color data.
Definition: rgba.h:13