MayaFlux 0.5.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 97 of file FormFactory.hpp.

98{
99 return [bounds](Context& ctx, uint32_t id,
100 std::shared_ptr<MappedState<std::vector<float>>> state) {
101 wire_canvas_drag(ctx, id, std::move(state), bounds);
102 };
103}
Event wiring between a Layer and a window surface.
Definition Context.hpp:40
void wire_canvas_drag(Context &ctx, uint32_t id, 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: