|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
noexcept |
Clamp a content-space offset so a viewport of the given extent never scrolls past the edges of a content region, per axis.
An axis where content is smaller than the viewport clamps to zero rather than to a degenerate range: there is nothing to scroll on that axis.
Definition at line 13 of file ScrollState.cpp.
References offset.
Referenced by apply_scroll().
Here is the caller graph for this function: