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

◆ LayoutCursor() [2/2]

MayaFlux::Portal::Forma::LayoutCursor::LayoutCursor ( float  y_start,
float  x_min = -1.F,
float  x_max = 1.F 
)
inlineexplicit

Construct a cursor at y_start scoped to a horizontal column.

Bounds returned by advance() span [x_min, x_max] rather than the full NDC width. The default extents reproduce the previous behaviour, so existing call sites are unaffected.

Parameters
y_startStarting NDC Y baseline.
x_minLeft edge of the column in NDC.
x_maxRight edge of the column in NDC.

Definition at line 38 of file LayoutCursor.hpp.

39 : m_x_min(x_min)
40 , m_x_max(x_max)
41 {
42 m_state = std::make_shared<MappedState<float>>();
43 m_state->write(y_start);
44 }
std::shared_ptr< MappedState< float > > m_state

References m_state.