#include <surface.hpp>
Public Member Functions |
virtual | ~Surface () |
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 lock_alpha=0.0)=0 |
virtual void | get_color (float x, float y, float radius, float *color_r, float *color_g, float *color_b, float *color_a)=0 |
Constructor & Destructor Documentation
virtual brushlib::Surface::~Surface |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
virtual bool brushlib::Surface::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 |
lock_alpha = 0.0 |
|
) |
| |
|
pure virtual |
virtual void brushlib::Surface::get_color |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
radius, |
|
|
float * |
color_r, |
|
|
float * |
color_g, |
|
|
float * |
color_b, |
|
|
float * |
color_a |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: