Module usvg::tree [] [src]

Implementation of the nodes tree.

Modules

prelude

Basic modules and traits for tree manipulation.

Structs

AspectRatio

Representation of the preserveAspectRatio attribute.

BaseGradient

A generic gradient.

ClipPath

A clip-path element.

Color

Representation of the <color> type.

Fill

A fill style.

Font

A font description.

Group

A group container.

Image

A raster image element.

LinearGradient

A linear gradient.

Mask

A mask element.

NumberList

Representation of the <list-of-numbers> type.

Opacity

An opacity value.

Path

A path element.

Pattern

A pattern element.

RadialGradient

A radial gradient.

Stop

Gradient's stop element.

Stroke

A stroke style.

Svg

An SVG root element.

TSpan

A text span.

Text

A text element.

TextChunk

A text chunk.

TextDecoration

A text decoration.

TextDecorationStyle

A text decoration style.

Transform

Representation of the <transform> type.

Tree

A nodes tree container.

ViewBox

View box.

Enums

Align

Representation of the align value of the preserveAspectRatio attribute.

FillRule

A fill rule.

FontStretch

A font stretch.

FontStyle

A font style.

FontVariant

A font variant.

FontWeight

A font weight.

ImageData

A raster image container.

ImageDataKind

An image codec.

LineCap

A line cap.

LineJoin

A line join.

NodeKind

Node's kind.

Paint

A paint style.

PathSegment

A path absolute segment.

SpreadMethod

A spread method.

TextAnchor

A text anchor.

Units

An element units.

Traits

FuzzyEq

A trait for fuzzy/approximate equality comparisons.

FuzzyZero

A trait for fuzzy/approximate comparisons of f64 numbers.

NodeExt

Additional Node methods.

Type Definitions

Node

Alias for rctree::Node<Box<NodeKind>>.

StopOffset

An alias to Opacity.