Crate svg_nd

Crate svg_nd 

Source

Structs§

BBox
BBox describes a region bounded by (x0,y0) and (x1,y1) It requires x0 <= x1 and y0 <= y1, and if either are equal then the region is deemed to be none
BezierPath
A path is a set of Beziers that form a chain (i.e. the end of one is the start of the next)
Color
ColorDatabase
ElementIter
An iterator structure to permit iteration over an Svg object’s elements
IndentOpt
Polygon
A polygon here defines an n-gon, from which one can generate a bezier path
Range
This is a simple ‘range’ class for a single dimension
Svg
This structure is used to create SVG renderings of a Diagram It should be constructed, and mutably borrowed by a diagram when it’s generate_svg method is invoked.
SvgConfig
Configuration of SVG output
SvgElement
Transform
A Transfom is a transformation applied to something - for example, applied to content to present it in its parent coordinates.

Enums§

SvgError

Constants§

SvgColorDatabase

Type Aliases§

Bezier
The Bezier type is a Bezier curve of Points
Point
The Point type is a 2D point of f64’s