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

◆ apply_containment()

void MayaFlux::Portal::Forma::apply_containment ( Element & element,
const Containment & hit )
inline

Write a hit region onto an element.

Note
clip is written only when the region carries one, so a clip set by a container such as Scrollable survives.

Definition at line 26 of file Containment.hpp.

27{
28 element.with_containment(hit);
29}
Element & with_containment(const Kinesis::HitRegion2D &region)
Set bounds_hint and contains from one hit region.
Definition Element.hpp:139

References MayaFlux::Portal::Forma::Element::with_containment().

Referenced by geometry_with_containment().

Here is the call graph for this function:
Here is the caller graph for this function: