MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ place() [2/2]

template<HasBounds A>
AABB2D MayaFlux::Kinesis::place ( const A &  anchor,
Side  side,
float  w,
float  h,
float  gap = 0.F,
Align  align = Align::Center 
)

place() accepting any HasBounds anchor.

Definition at line 621 of file Bounds.hpp.

624{
625 return place(bounds_of(anchor), side, w, h, gap, align);
626}
uint32_t h
Definition InkPress.cpp:28
AABB2D place(AABB2D anchor, Side side, float w, float h, float gap=0.F, Align align=Align::Center) noexcept
Compute a region of size (w, h) positioned relative to anchor.
Definition Bounds.hpp:534
AABB2D bounds_of(const T &obj)
Extract the anchor region from any HasBounds object.
Definition Bounds.hpp:614

References bounds_of(), h, and place().

+ Here is the call graph for this function: