Re-exports§
pub use strict_num;
pub use tiny_skia_path;
Modules§
Structs§
- Aspect
Ratio - Representation of the
preserveAspectRatio
attribute. - BBox
- A bounding box calculator.
- Base
Gradient - A generic gradient.
- Clip
Path - A clip-path element.
- Color
- A 8-bit RGB color.
- Fill
- A fill style.
- Font
- Text font properties.
- Group
- A group container.
- Image
- A raster image element.
- Linear
Gradient - A linear gradient.
- Mask
- A mask element.
- NonZero
F32 - A non-zero
f32
. - NonZero
Positive F32 - An immutable, finite
f32
that is known to be > 0. - NonZero
Rect - A rectangle defined by left, top, right and bottom edges.
- 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.
- Rect
- A rectangle defined by left, top, right and bottom edges.
- Size
- A size.
- Stop
- Gradient’s stop element.
- Stroke
- A stroke style.
- Stroke
Miterlimit - A
stroke-miterlimit
value. - Text
- A text element.
- Text
Chunk - A text chunk.
- Text
Decoration - A text span decoration.
- Text
Decoration Style - A text span decoration style.
- Text
Path - A path used by text-on-path.
- Text
Span - A text style span.
- Transform
- An affine transformation matrix.
- Tree
- A nodes tree container.
- ViewBox
- View box.
Enums§
- Align
- Representation of the
align
value of thepreserveAspectRatio
attribute. - Alignment
Baseline - An alignment baseline property.
- Baseline
Shift - A baseline shift property.
- Blend
Mode - A blending mode property.
- Dominant
Baseline - A dominant baseline property.
- Fill
Rule - A fill rule.
- Font
Stretch - A font stretch property.
- Font
Style - A font style property.
- Image
Kind - An embedded image kind.
- Image
Rendering - An image rendering method.
- Length
Adjust - A length adjust property.
- 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
Anchor - A text chunk anchor property.
- Text
Flow - A text chunk flow property.
- Text
Rendering - A text rendering method.
- Units
- An element units.
- Visibility
- A visibility property.
- Writing
Mode - A writing mode.
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.
- Approx
Zero Ulps - Approximate zero equality comparisons.
- IsValid
Length - Checks that the current number is > 0.
Type Aliases§
- Opacity
- An alias to
NormalizedF32
. - Shared
Clip Path - An alias for a shared
ClipPath
. - Shared
Mask - An alias for a shared
Mask
. - Stop
Offset - An alias to
NormalizedF32
. - Stroke
Width - An alias to
NonZeroPositiveF32
.