MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
PanZoom2DState.hpp File Reference
#include "ViewTransform.hpp"
+ Include dependency graph for PanZoom2DState.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MayaFlux::Kinesis::PanZoom2DConfig
 Construction parameters for a 2D pan/zoom orthographic controller. More...
 
struct  MayaFlux::Kinesis::PanZoom2DState
 Mutable 2D pan/zoom navigation state. More...
 

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Kinesis
 

Functions

void MayaFlux::Kinesis::apply_pan_zoom_pan (PanZoom2DState &state, float dx, float dy, float viewport_width, float viewport_height)
 Pan by a pixel delta, scaled to world units by the current zoom level.
 
void MayaFlux::Kinesis::apply_pan_zoom_scroll (PanZoom2DState &state, float ticks)
 Zoom by multiplying the half-height, clamped to [min_zoom, max_zoom].
 
ViewTransform MayaFlux::Kinesis::compute_pan_zoom_view_transform (const PanZoom2DState &state, float aspect)
 Build a ViewTransform from the current PanZoom2DState.
 
PanZoom2DState MayaFlux::Kinesis::make_pan_zoom_state (const PanZoom2DConfig &config)
 Construct a PanZoom2DState from a PanZoom2DConfig.