Re-exportsยง
pub use strict_num;
pub use tiny_skia_path;
pub use self::geom::*;
pub use self::text::*;
Modulesยง
Structsยง
- Base
Gradient - A generic gradient.
- Clip
Path - A clip-path element.
- Color
- A 8-bit RGB color.
- Fill
- A fill style.
- Group
- A group container.
- Image
- A raster image element.
- Linear
Gradient - A linear gradient.
- Mask
- A mask element.
- NonEmpty
String ๐ - NonZero
F32 - A non-zero
f32
. - NonZero
Positive F32 - An immutable, finite
f32
that is known to be > 0. - Normalized
F32 - An immutable, finite
f32
in a 0..=1 range. - Path
- A path element.
- Pattern
- A pattern element.
- Positive
F32 - An immutable, finite
f32
that is known to be >= 0. - Radial
Gradient - A radial gradient.
- Stop
- Gradientโs stop element.
- Stroke
- A stroke style.
- Stroke
Miterlimit - A
stroke-miterlimit
value. - Tree
- A nodes tree container.
Enumsยง
- Blend
Mode - A blending mode property.
- Context
Element ๐ - Fill
Rule - A fill rule.
- Image
Kind - An embedded image kind.
- Image
Rendering - An image rendering method.
- LineCap
- A line cap.
- Line
Join - A line join.
- Mask
Type - A mask type.
- Node
- Nodeโs kind.
- Paint
- A paint style.
- Paint
Order - Representation of the
paint-order
property. - Shape
Rendering - A shape rendering method.
- Spread
Method - A spread method.
- Text
Rendering - A text rendering method.
- Units ๐
- Visibility ๐
- A visibility property.
Traitsยง
- Approx
EqUlps - ApproxEqUlps is a trait for approximate equality comparisons. The associated type Flt is a floating point type which implements Ulps, and is required so that this trait can be implemented for compound types (e.g. vectors), not just for the floats themselves.
Functionsยง
- has_
text_ ๐nodes - loop_
over_ ๐paint_ servers - node_
by_ ๐id
Type Aliasesยง
- Opacity
- An alias to
NormalizedF32
. - Stop
Offset - An alias to
NormalizedF32
. - Stroke
Width - An alias to
NonZeroPositiveF32
.