Module webrender::util[][src]

Enums

FastTransform

An enum that tries to avoid expensive transformation matrix calculations when possible when dealing with non-perspective axis-aligned transformations.

TransformedRectKind

Constants

NEARLY_ZERO
_IMPL_SERIALIZE_FOR_TransformedRectKind

Traits

MatrixHelpers
MaxRect
RectHelpers

Functions

_subtract_rect
calculate_screen_bounding_rect
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.

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.

Type Definitions

LayoutFastTransform
LayoutToWorldFastTransform
WorldToLayoutFastTransform