Expand description
Drawing and visualization.
Structs§
- Chroma
Component - A chroma color component.
- Circle
Elem - A circle with optional content.
- Cmyk
- An 8-bit CMYK color.
- Component
- An integer or ratio component.
- Conic
Gradient - A gradient that interpolates between two colors radially around a center point.
- Curve
- A curve consisting of movements, lines, and Bézier segments.
- Curve
Close - Closes the curve by adding a segment from the last point to the start of the
curve (or the last preceding
curve.move
point). - Curve
Cubic - Adds a cubic Bézier curve segment from the last point to
end
, usingcontrol-start
andcontrol-end
as the control points. - Curve
Elem - A curve consisting of movements, lines, and Bézier segments.
- Curve
Line - Adds a straight line from the current point to a following one.
- Curve
Move - Starts a new curve component.
- Curve
Quad - Adds a quadratic Bézier curve segment from the last point to
end
, usingcontrol
as the control point. - Dash
Pattern - A line dash pattern.
- Ellipse
Elem - An ellipse with optional content.
- Fixed
Stroke - A fully specified stroke of a geometric shape.
- Gradient
Stop - A color stop.
- Image
- A loaded raster or vector image.
- Image
Elem - A raster or vector graphic.
- Line
Elem - A line from one point to another.
- Linear
Gradient - A gradient that interpolates between two colors along an axis.
- Path
Elem - A path through a list of points, connected by Bézier curves.
- Pixel
Format - Information that is needed to understand a pixmap buffer.
- Polygon
Elem - A closed polygon.
- Radial
Gradient - A gradient that interpolates between two colors along a circle.
- Raster
Image - A decoded raster image.
- Ratio
Component - A component that must be a ratio.
- Rect
Elem - A rectangle with optional content.
- Shape
- A geometric shape with optional fill and stroke.
- Square
Elem - A square with optional content.
- Stroke
- Defines how to draw a line.
- SvgImage
- A decoded SVG.
- Tiling
- A repeating tiling fill.
- Weighted
Color - A color with a weight.
Enums§
- Close
Mode - How to close a curve.
- Color
- A color in a specific color space.
- Color
Space - A color space for color manipulation.
- Curve
Component - A component used for curve creation.
- Curve
Item - An item in a curve.
- Dash
Length - The length of a dash in a line dash pattern.
- Exchange
Format - A raster format typically used in image exchange, with efficient encoding.
- Fill
Rule - A fill rule for curve drawing.
- Geometry
- A shape’s geometry.
- Gradient
- A color gradient.
- Image
Fit - How an image should adjust itself to a given area,
- Image
Format - A raster or vector image format.
- Image
Kind - A kind of image.
- Image
Scaling - The image scaling algorithm a viewer should use.
- LineCap
- The line cap of a stroke
- Line
Join - The line join of a stroke
- Paint
- How a fill or stroke should be painted.
- Path
Vertex - A component used for path creation.
- Pixel
Encoding - Determines the channel encoding of raw pixel data.
- Raster
Format - A raster graphics format.
- Ratio
OrAngle - A ratio or an angle.
- Relative
To - What is the gradient relative to.
- Vector
Format - A vector graphics format.