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

#include <brush.hpp>

Public Member Functions

 Brush ()
 ~Brush ()
void reset ()
void new_stroke ()
void set_base_value (int id, float value)
void set_mapping_n (int id, int input, int n)
void set_mapping_point (int id, int input, int index, float x, float y)
float get_state (int i)
void set_state (int i, float value)
bool stroke_to (Surface *surface, float x, float y, float pressure, float xtilt, float ytilt, double dtime)

Public Attributes

bool print_inputs
double stroke_total_painting_time
double stroke_current_idling_time

Constructor & Destructor Documentation

brushlib::Brush::Brush ( )
inline
brushlib::Brush::~Brush ( )
inline

References BRUSH_SETTINGS_COUNT.

Member Function Documentation

void brushlib::Brush::reset ( )
inline
void brushlib::Brush::new_stroke ( )
inline
void brushlib::Brush::set_base_value ( int  id,
float  value 
)
inline
void brushlib::Brush::set_mapping_n ( int  id,
int  input,
int  n 
)
inline
void brushlib::Brush::set_mapping_point ( int  id,
int  input,
int  index,
float  x,
float  y 
)
inline
float brushlib::Brush::get_state ( int  i)
inline

References STATE_COUNT.

void brushlib::Brush::set_state ( int  i,
float  value 
)
inline

References STATE_COUNT.

bool brushlib::Brush::stroke_to ( Surface surface,
float  x,
float  y,
float  pressure,
float  xtilt,
float  ytilt,
double  dtime 
)
inline

Member Data Documentation

bool brushlib::Brush::print_inputs

Referenced by Brush().

double brushlib::Brush::stroke_total_painting_time

Referenced by new_stroke(), and stroke_to().

double brushlib::Brush::stroke_current_idling_time

Referenced by new_stroke(), and stroke_to().


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