Module layout

Module layout 

Source
Expand description

Layout tree.

The idea is to take the DOM tree and produce a layout tree with SVG concepts.

Structsยง

ClipPath
Recursive representation of the clipPath element, a union of clipping paths.
ClipPathItem
One item in a ClipPath.
Filter
FontProperties
Font-related properties extracted from ComputedValues.
Group
Image
Image in user-space coordinates.
Layer
The item being rendered inside a stacking context.
LayoutViewport
Used for elements that need to establish a new viewport, like <svg>.
Marker
Path
A path known to be representable by Cairo.
Shape
Paths and basic shapes resolved to a path.
StackingContext
SVG Stacking context, an inner node in the layout tree.
Stroke
Stroke parameters in user-space coordinates.
Text
Fully laid-out text in user-space coordinates.
TextSpan
A single text span in user-space coordinates.

Enumsยง

LayerKind

Functionsยง

acquire_clip_path ๐Ÿ”’
acquire_clip_path_and_log_error ๐Ÿ”’
clip_path_item_from_node ๐Ÿ”’
element_can_be_used_inside_use_inside_clip_path
get_filter ๐Ÿ”’
get_filter_from_filter_list ๐Ÿ”’
layout_clip_path ๐Ÿ”’
layout_paths_for_clip_path ๐Ÿ”’
path_from_text ๐Ÿ”’
path_from_use_referenced_from_clip_path ๐Ÿ”’
resolve_object_space_clip_path ๐Ÿ”’