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

◆ advance()

Kinesis::AABB2D MayaFlux::Portal::Forma::LayoutCursor::advance ( float  height)
inline

Advance the cursor downward by height and return the NDC AABB occupied by the primitive just placed, scoped to the cursor's column extents.

Definition at line 79 of file LayoutCursor.hpp.

80 {
81 const float top = m_state->value;
82 const float bot = top - height;
83 m_state->write(bot);
84 return Kinesis::AABB2D { .min = { m_x_min, bot }, .max = { m_x_max, top } };
85 }
uint32_t height
std::shared_ptr< MappedState< float > > m_state

References height, m_state, m_x_max, m_x_min, and MayaFlux::Kinesis::AABB2D::min.

Referenced by MayaFlux::Portal::Forma::make_value_row(), and MayaFlux::Portal::Forma::Collapsible::place().

+ Here is the caller graph for this function: