#include <brushlib.h>
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) |
Member Typedef Documentation
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 |
Member Data Documentation
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 |
int brushlib::SurfaceWrapper::offset_y |
The documentation for this class was generated from the following file: