Re-exports
pub use strict_num;
pub use tiny_skia_path;
Modules
- SVG filter types.
- Some useful utilities.
Structs
- Representation of the
preserveAspectRatio
attribute. - A bounding box calculator.
- A generic gradient.
- A clip-path element.
- A 8-bit RGB color.
- A fill style.
- Text font properties.
- A group container.
- A raster image element.
- A linear gradient.
- A mask element.
- A non-zero
f32
. - An immutable, finite
f32
that is known to be > 0. - A rectangle defined by left, top, right and bottom edges.
- An immutable, finite
f32
in a 0..=1 range. - A path element.
- A pattern element.
- An immutable, finite
f32
that is known to be >= 0. - A radial gradient.
- A rectangle defined by left, top, right and bottom edges.
- A size.
- Gradient’s stop element.
- A stroke style.
- A
stroke-miterlimit
value. - A text element.
- A text chunk.
- A text span decoration.
- A text span decoration style.
- A path used by text-on-path.
- A text style span.
- An affine transformation matrix.
- A nodes tree container.
- View box.
Enums
- Representation of the
align
value of thepreserveAspectRatio
attribute. - An alignment baseline property.
- A baseline shift property.
- A blending mode property.
- A dominant baseline property.
- A fill rule.
- A font stretch property.
- A font style property.
- An embedded image kind.
- An image rendering method.
- A length adjust property.
- A line cap.
- A line join.
- A mask type.
- Node’s kind.
- A paint style.
- Representation of the
paint-order
property. - A shape rendering method.
- A spread method.
- A text chunk anchor property.
- A text chunk flow property.
- A text rendering method.
- An element units.
- A visibility property.
- A writing mode.
Traits
- 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.
- Approximate zero equality comparisons.
- Checks that the current number is > 0.
Type Aliases
- An alias to
NormalizedF32
. - An alias for a shared
ClipPath
. - An alias for a shared
Mask
. - An alias to
NormalizedF32
. - An alias to
NonZeroPositiveF32
.