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

◆ from() [3/3]

template<HasBounds T>
static Scissor MayaFlux::Kinesis::Scissor::from ( const T &  anchor)
inlinestaticnoexcept

Construct from anything exposing bounds(): Mapped<T>, Collapsible, Scrollable, Entry, EntryGroup, and so on.

Definition at line 44 of file Scissor.hpp.

45 {
46 return { .bounds = bounds_of(anchor) };
47 }
AABB2D bounds_of(const T &obj)
Extract the anchor region from any HasBounds object.
Definition Bounds.hpp:659

References bounds, and MayaFlux::Kinesis::bounds_of().

+ Here is the call graph for this function: