IMPORT_PLUS(size, if(old_version){size/=2.0;} needs_sync_=true );
IMPORT_PLUS(text,needs_sync_=true);
IMPORT_PLUS(pos,needs_sync_=true);
- IMPORT_PLUS(color, { if (color.get_a() == 0) if (converted_blend_) {
+ IMPORT_PLUS(color, { if (color.get_a() == 0) { if (converted_blend_) {
set_blend_method(Color::BLEND_ALPHA_OVER);
- color.set_a(1); } else transparent_color_ = true; });
+ color.set_a(1); } else transparent_color_ = true; } });
IMPORT(invert);
IMPORT_PLUS(orient,needs_sync_=true);
IMPORT_PLUS(compress,needs_sync_=true);
{
IMPORT_PLUS(size,clamp(size));
IMPORT(type);
- IMPORT_PLUS(color, { if (color.get_a() == 0) if (converted_blend_) {
+ IMPORT_PLUS(color, { if (color.get_a() == 0) { if (converted_blend_) {
set_blend_method(Color::BLEND_ALPHA_OVER);
- color.set_a(1); } else transparent_color_ = true; });
+ color.set_a(1); } else transparent_color_ = true; } });
IMPORT(offset);
IMPORT(invert);
bool
CheckerBoard::set_param(const String ¶m, const ValueBase &value)
{
- IMPORT_PLUS(color, { if (color.get_a() == 0) if (converted_blend_) {
+ IMPORT_PLUS(color, { if (color.get_a() == 0) { if (converted_blend_) {
set_blend_method(Color::BLEND_ALPHA_OVER);
- color.set_a(1); } else transparent_color_ = true; });
+ color.set_a(1); } else transparent_color_ = true; } });
IMPORT(pos);
IMPORT(pos[0]);
IMPORT(pos[1]);
bool
Circle::ImportParameters(const String ¶m, const ValueBase &value)
{
- IMPORT_PLUS(color, { if (color.get_a() == 0) if (converted_blend_) {
+ IMPORT_PLUS(color, { if (color.get_a() == 0) { if (converted_blend_) {
set_blend_method(Color::BLEND_ALPHA_OVER);
- color.set_a(1); } else transparent_color_ = true; });
+ color.set_a(1); } else transparent_color_ = true; } });
IMPORT(radius);
IMPORT(feather);
IMPORT(invert);