Structs§
- Path
Info - Stores a set of paths with their rendering attributes.
Direct port from C++
PathInfoclass. - SvgReader
- SVG file reader that extracts path data from SVG files.
- SvgWriter
- SVG file writer for visualizing clipper paths.
- Text
Info - Stores a text label with its rendering attributes.
Direct port from C++
SvgWriter::TextInfoclass.
Constants§
- CLIP_
BRUSH_ CLR - CLIP_
STROKE_ CLR - SOLUTION_
BRUSH_ CLR - SUBJ_
BRUSH_ CLR - Default colors for SVG visualization (from clipper.svg.utils.h)
- SUBJ_
STROKE_ CLR
Functions§
- color_
to_ html - Convert a u32 ARGB color to an HTML hex string (#RRGGBB).
Direct port from C++
ColorToHtml(). - get_
alpha_ as_ frac - Extract the alpha channel as a fraction (0.0 to 1.0).
Direct port from C++
GetAlphaAsFrac(). - svg_
add_ caption - Add a caption text to the SVG.
- svg_
add_ clip_ 64 - Add clip paths (Paths64) to the SVG.
- svg_
add_ clip_ d - Add clip paths (PathsD) to the SVG.
- svg_
add_ open_ solution_ 64 - Add open solution paths (Paths64) to the SVG.
- svg_
add_ open_ solution_ d - Add open solution paths (PathsD) to the SVG.
- svg_
add_ open_ subject_ 64 - Add open subject paths (Paths64) to the SVG.
- svg_
add_ open_ subject_ d - Add open subject paths (PathsD) to the SVG.
- svg_
add_ solution_ 64 - Add solution paths (Paths64) to the SVG.
- svg_
add_ solution_ d - Add solution paths (PathsD) to the SVG.
- svg_
add_ subject_ 64 - Add subject paths (Paths64) to the SVG.
- svg_
add_ subject_ d - Add subject paths (PathsD) to the SVG.
- svg_
save_ to_ file - Save SVG to file with sensible defaults and coordinate styling.