synfig-studio  1.0.3
Classes | Public Member Functions | Public Attributes | List of all members
brushlib::Mapping Class Reference

#include <mapping.hpp>

Classes

struct  ControlPoints

Public Member Functions

 Mapping (int inputs_)
 ~Mapping ()
void set_n (int input, int n)
void set_point (int input, int index, float x, float y)
bool is_constant ()
float calculate (float *data)
float calculate_single_input (float input)

Public Attributes

float base_value

Constructor & Destructor Documentation

brushlib::Mapping::Mapping ( int  inputs_)
inline

References base_value.

brushlib::Mapping::~Mapping ( )
inline

Member Function Documentation

void brushlib::Mapping::set_n ( int  input,
int  n 
)
inline
void brushlib::Mapping::set_point ( int  input,
int  index,
float  x,
float  y 
)
inline
bool brushlib::Mapping::is_constant ( )
inline
float brushlib::Mapping::calculate ( float *  data)
inline

References base_value.

Referenced by calculate_single_input().

float brushlib::Mapping::calculate_single_input ( float  input)
inline

References calculate().

Member Data Documentation

float brushlib::Mapping::base_value

The documentation for this class was generated from the following file: