Skip to main content

Module display_list

Module display_list 

Source

ModulesΒ§

background πŸ”’
clip πŸ”’
conversions πŸ”’
gradient πŸ”’
hit_test πŸ”’
paint_timing_handler πŸ”’
paint_traversal πŸ”’
painted_region πŸ”’
stacking_context πŸ”’

StructsΒ§

BuilderForBoxFragment πŸ”’
DisplayListBuilder πŸ”’
HighlightTraversalState πŸ”’
InspectorHighlight πŸ”’

ConstantsΒ§

INSERTION_POINT_LOGICAL_WIDTH πŸ”’

StaticsΒ§

UNFOCUSED_SELECTION_COLOR πŸ”’
A color to use for the selection rectangle when the document isn’t focused (does not have system focus or its frame itself does not have focus).

FunctionsΒ§

collect_glyphs πŸ”’
Clear glyphs and fill it with a GlyphInstance for every glyph in the given shaped_text_slices. Return a tuple that contains:
compute_margin_box_radius πŸ”’
https://drafts.csswg.org/css-shapes-1/#valdef-shape-box-margin-box
normalize_radii πŸ”’
offset_radii πŸ”’
Given a set of corner radii for a rectangle, this function returns the corresponding radii for the outer rectangle resulting from expanding the original rectangle by the given offsets.
resolve_border_image_outset πŸ”’
Resolve the WebRender border-image outset area from the style values.
resolve_border_image_slice πŸ”’
Resolve the WebRender border-image slice from the style values.
resolve_border_image_width πŸ”’
Resolve the WebRender border-image width from the style values.
rgba πŸ”’