#include <layer_polygon.h>
Inheritance diagram for synfig::Layer_Polygon:
Public Member Functions | |
~Layer_Polygon () | |
void | add_polygon (const std::vector< Point > &point_list) |
Adds a polygon to the layer. | |
void | clear () |
Clears out any polygon data. | |
void | sync () |
Updates EdgeTable so it will reflect the parameter data. | |
virtual bool | set_param (const String ¶m, const synfig::ValueBase &value) |
Sets the parameter described by param to value. | |
virtual ValueBase | get_param (const String ¶m) const |
Get the value of the specified parameter. | |
virtual Vocab | get_param_vocab () const |
Gets the paramater vocabulary. | |
Protected Member Functions | |
Layer_Polygon () |
|
|
|
|
|
Adds a polygon to the layer. The edge data is automaticly added to the EdgeTable, so there is no need to call sync() after adding a polygon using this function.
|
|
Clears out any polygon data. Also clears out the EdgeTable, so there is no need to call sync() after using this function. Reimplemented from synfig::Layer_Shape. |
|
Updates EdgeTable so it will reflect the parameter data.
|
|
Sets the parameter described by param to value.
Reimplemented from synfig::Layer_Shape. |
|
Get the value of the specified parameter.
Reimplemented from synfig::Layer_Shape. |
|
Gets the paramater vocabulary.
Reimplemented from synfig::Layer_Shape. |