Crate plt_draw

Source

Structs§

Area
Subarea of a 2D figure by dot (pixel) indices.
CanvasDescriptor
Describes a Canvas to be constructed.
Color
An RGBA float representation of a color.
CurveDescriptor
FillDescriptor
Describes a region to be filled with a specified color.
Font
Complete font settings.
Line
A line from point-1 to point-2.
LineDescriptor
Describes a line to be drawn.
Point
Arbitrary point.
SaveFileDescriptor
Describes how to save the image to a file.
ShapeDescriptor
Describes a shape to be drawn.
Size
2D size in dot (pixel) numbers.
TextDescriptor

Enums§

Alignment
How something should be aligned.
DrawError
The error type for this library.
FileFormat
A graphics image file format.
FontName
The name of a text font.
FontSlant
The slant of a font.
FontWeight
The weight of a font.
ImageFormat
Shape
A drawable shape.

Traits§

Canvas
Represents a structure used for drawing.