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

◆ paint_over()

auto MayaFlux::Portal::Forma::Geometry::paint_over ( Kinesis::AABB2D  bounds)
inline

Produce a Form::wire that registers canvas painting over bounds.

Definition at line 98 of file FormFactory.hpp.

99{
100 return [bounds](Context& ctx, uint32_t id,
101 const std::shared_ptr<MappedState<std::vector<float>>>& state) {
102 wire_canvas_drag(ctx, id, state, bounds);
103 };
104}
Event wiring between a Layer and a window surface.
Definition Context.hpp:41
void wire_canvas_drag(Context &ctx, uint32_t id, const std::shared_ptr< MappedState< std::vector< float > > > &state, Kinesis::AABB2D bounds)
Wire drag interaction for a drawable canvas element.

References wire_canvas_drag().

Referenced by drawable_canvas().

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