Expand description
Vector shapes: curves and polygons that PDF and SVG write as they are, and that the screen and spreadsheets get as a picture.
Structs§
- Shape
- A filled and/or outlined shape.
Enums§
- Layer
- What a picture is made of, for
rasterize_layers:Shapes, plus what only a picture can show. - Path
Segment - One step of a shape’s outline, in the page’s coordinates.
Functions§
- append_
rectangle - Appends a rectangle to an outline, for many rectangles in one shape.
- ellipse
- The outline of an ellipse inscribed in
rect. - rasterize
- Draws shapes into a picture of
rectatscalepixels per point, smoothed. - rasterize_
layers - Draws layers into a picture of
rectatscalepixels per point, smoothed. - rectangle
- The outline of a rectangle, with rounded corners when
radiusis above zero.