Module tree

Source

Re-exportsยง

pub use strict_num;
pub use tiny_skia_path;
pub use self::geom::*;
pub use self::text::*;

Modulesยง

filter
SVG filter types.
geom ๐Ÿ”’
text ๐Ÿ”’

Structsยง

BaseGradient
A generic gradient.
ClipPath
A clip-path element.
Color
A 8-bit RGB color.
Fill
A fill style.
Group
A group container.
Image
A raster image element.
LinearGradient
A linear gradient.
Mask
A mask element.
NonEmptyString ๐Ÿ”’
NonZeroF32
A non-zero f32.
NonZeroPositiveF32
An immutable, finite f32 that is known to be > 0.
NormalizedF32
An immutable, finite f32 in a 0..=1 range.
Path
A path element.
Pattern
A pattern element.
PositiveF32
An immutable, finite f32 that is known to be >= 0.
RadialGradient
A radial gradient.
Stop
Gradientโ€™s stop element.
Stroke
A stroke style.
StrokeMiterlimit
A stroke-miterlimit value.
Tree
A nodes tree container.

Enumsยง

BlendMode
A blending mode property.
ContextElement ๐Ÿ”’
FillRule
A fill rule.
ImageKind
An embedded image kind.
ImageRendering
An image rendering method.
LineCap
A line cap.
LineJoin
A line join.
MaskType
A mask type.
Node
Nodeโ€™s kind.
Paint
A paint style.
PaintOrder
Representation of the paint-order property.
ShapeRendering
A shape rendering method.
SpreadMethod
A spread method.
TextRendering
A text rendering method.
Units ๐Ÿ”’
Visibility ๐Ÿ”’
A visibility property.

Traitsยง

ApproxEqUlps
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.
StopOffset
An alias to NormalizedF32.
StrokeWidth
An alias to NonZeroPositiveF32.