**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2008 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
{
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);
(offset_v>0?offset_v:0)+h
);
- /*
- if(quality >=10)
+ if(quality >= 10)
{
halfsizex=1;
halfsizey=1;
- }else
- */
- if(quality == 9)
+ }
+ else if (quality == 9)
{
halfsizex/=4;
halfsizey/=4;