Module geom

Source
Expand description

Macros§

sides_mapping_methods 🔒

Structs§

FlexRelativeRect 🔒
FlexRelativeSides 🔒
FlexRelativeVec2 🔒

Enums§

FlexAxis 🔒
One of the two bits set by the flex-direction property (The other is “forward” v.s. reverse.)
MainStartCrossStart 🔒
Which flow-relative sides map to the main-start and cross-start sides, respectively. See https://drafts.csswg.org/css-flexbox/#box-model

Functions§

rect_to_flow_relative 🔒
The start corner coordinates in both the input rectangle and output rectangle are relative to some “base rectangle” whose size is passed here.