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

#include <brushlib.h>

Inheritance diagram for brushlib::SurfaceWrapper:
brushlib::ActiveSurface brushlib::Surface

Public Types

typedef synfig::Surface surface_type

Public Member Functions

 SurfaceWrapper (surface_type *surface=NULL)
void reset ()
virtual bool draw_dab (float x, float y, float radius, float color_r, float color_g, float color_b, float opaque, float hardness=0.5, float alpha_eraser=1.0, float aspect_ratio=1.0, float angle=0.0, float=0.0)
virtual void get_color (float x, float y, float, float *color_r, float *color_g, float *color_b, float *color_a)

Public Attributes

surface_typesurface
int extra_left
int extra_right
int extra_top
int extra_bottom
int offset_x
int offset_y

Member Typedef Documentation

typedef synfig::Surface brushlib::SurfaceWrapper::surface_type

Constructor & Destructor Documentation

brushlib::SurfaceWrapper::SurfaceWrapper ( surface_type surface = NULL)
inlineexplicit

Member Function Documentation

void brushlib::SurfaceWrapper::reset ( )
inline
virtual bool brushlib::SurfaceWrapper::draw_dab ( float  x,
float  y,
float  radius,
float  color_r,
float  color_g,
float  color_b,
float  opaque,
float  hardness = 0.5,
float  alpha_eraser = 1.0,
float  aspect_ratio = 1.0,
float  angle = 0.0,
float  = 0.0 
)
inlinevirtual
virtual void brushlib::SurfaceWrapper::get_color ( float  x,
float  y,
float  ,
float *  color_r,
float *  color_g,
float *  color_b,
float *  color_a 
)
inlinevirtual

Reimplemented from brushlib::ActiveSurface.

References offset_x, offset_y, and surface.

Member Data Documentation

surface_type* brushlib::SurfaceWrapper::surface
int brushlib::SurfaceWrapper::extra_left
int brushlib::SurfaceWrapper::extra_right
int brushlib::SurfaceWrapper::extra_top
int brushlib::SurfaceWrapper::extra_bottom
int brushlib::SurfaceWrapper::offset_x

Referenced by draw_dab(), get_color(), and reset().

int brushlib::SurfaceWrapper::offset_y

Referenced by draw_dab(), get_color(), and reset().


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