#include <layer_bitmap.h>
Public Types | |
typedef etl::handle< Layer_Bitmap > | Handle |
Public Member Functions | |
Layer_Bitmap () | |
virtual bool | set_param (const String ¶m, ValueBase value) |
virtual ValueBase | get_param (const String ¶m) const |
Get the value of the specified parameter. | |
virtual Color | get_color (Context context, const Point &pos) const |
Gets the color of the Canvas at pos. | |
virtual Vocab | get_param_vocab () const |
Gets the paramater vocabulary. | |
virtual Rect | get_bounding_rect () const |
virtual bool | accelerated_render (Context context, Surface *surface, int quality, const RendDesc &renddesc, ProgressCallback *cb) const |
Renders the Canvas to the given Surface in an accelerated manner. | |
virtual synfig::Layer::Handle | hit_check (synfig::Context context, const synfig::Point &point) const |
Checks to see if a part of the layer is directly under point. | |
Public Attributes | |
Point | tl |
Point | br |
int | c |
Surface | surface |
Real | gamma_adjust |
typedef etl::handle<Layer_Bitmap> synfig::Layer_Bitmap::Handle |
Reimplemented from synfig::Layer.
synfig::Layer_Bitmap::Layer_Bitmap | ( | ) |
Get the value of the specified parameter.
const String &
Reimplemented from synfig::Layer_Composite.
Gets the color of the Canvas at pos.
context | Context iterator refering to next Layer. | |
pos | Point which indicates where the Color should come from |
Reimplemented from synfig::Layer.
Layer::Vocab Layer_Bitmap::get_param_vocab | ( | ) | const [virtual] |
Rect Layer_Bitmap::get_bounding_rect | ( | ) | const [virtual] |
Reimplemented from synfig::Layer.
bool Layer_Bitmap::accelerated_render | ( | Context | context, | |
Surface * | surface, | |||
int | quality, | |||
const RendDesc & | renddesc, | |||
ProgressCallback * | cb | |||
) | const [virtual] |
Renders the Canvas to the given Surface in an accelerated manner.
context | Context iterator refering to next Layer. | |
surface | Pointer to Surface to render to. | |
quality | The requested quality-level to render at. | |
renddesc | The associated RendDesc. | |
cb | Pointer to callback object. May be NULL if there is no callback. |
true
on success, false
on failure Reimplemented from synfig::Layer_Composite.
synfig::Layer::Handle Layer_Bitmap::hit_check | ( | synfig::Context | context, | |
const synfig::Point & | point | |||
) | const [virtual] |
Checks to see if a part of the layer is directly under point.
Reimplemented from synfig::Layer.
Surface synfig::Layer_Bitmap::surface [mutable] |