Skip to main content

Module tree

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.
GroupBoundingBoxes πŸ”’
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.
PathBoundingBoxes πŸ”’
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.