#include <julia.h>
Public Member Functions | |
Julia () | |
virtual bool | set_param (const synfig::String ¶m, const synfig::ValueBase &value) |
Sets the parameter described by param to value. | |
virtual ValueBase | get_param (const synfig::String ¶m) const |
Get the value of the specified parameter. | |
virtual Color | get_color (synfig::Context context, const synfig::Point &pos) const |
Gets the color of the Canvas at pos. | |
virtual Vocab | get_param_vocab () const |
Gets the parameter vocabulary. |
Julia::Julia | ( | ) |
bool Julia::set_param | ( | const synfig::String & | param, | |
const synfig::ValueBase & | value | |||
) | [virtual] |
Sets the parameter described by param to value.
param | The name of the parameter to set | |
value | What the parameter is to be set to. |
true
on success, false
upon rejection or failure. If it returns false
, then the Layer is assumed to remain unchanged. const String ¶m
Reimplemented from synfig::Layer.
References synfig::ValueBase::get(), IMPORT, and synfig::ValueBase::same_type_as().
ValueBase Julia::get_param | ( | const synfig::String & | param | ) | const [virtual] |
Get the value of the specified parameter.
const String &
Reimplemented from synfig::Layer.
References EXPORT, EXPORT_NAME, and EXPORT_VERSION.
Color Julia::get_color | ( | synfig::Context | context, | |
const synfig::Point & | pos | |||
) | const [virtual] |
Gets the color of the Canvas at pos.
context | Context iterator referring to next Layer. | |
pos | Point which indicates where the Color should come from |
Reimplemented from synfig::Layer.
References synfig::Color::clamped_negative(), synfig::Context::get_color(), LOG_OF_2, synfig::Color::rotate_uv(), and synfig::Color::set_uv().
Layer::Vocab Julia::get_param_vocab | ( | void | ) | const [virtual] |
Gets the parameter vocabulary.
Reimplemented from synfig::Layer.
References _, and synfig::Layer::set_description().