Module webrender::util [] [src]

Structs

TransformedRect

Enums

TransformedRectKind

Constants

NEARLY_ZERO

Traits

ComplexClipRegionHelpers
MatrixHelpers
MaxRect
RectHelpers

Functions

extract_inner_rect_impl
extract_inner_rect_safe

Return an aligned rectangle that is inside the clip region and doesn't intersect any of the bounding rectangles of the rounded corners.

get_normal
lerp
pack_as_float
rect_from_points_f
rect_is_empty
recycle_vec

Consumes the old vector and returns a new one that may reuse the old vector's allocated memory.

subtract_rect