QColor c = color();
- if ((type & APPLY_TO_FILL) && renderStyle->svgStyle()->hasFill()) {
+ if ((type & ApplyToFillTargetType) && renderStyle->svgStyle()->hasFill()) {
c.setAlphaF(renderStyle->svgStyle()->fillOpacity());
QBrush brush(c);
/* if(isPaintingText()) ... */
}
- if((type & APPLY_TO_STROKE) && renderStyle->svgStyle()->hasStroke()) {
+ if ((type & ApplyToStrokeTargetType) && renderStyle->svgStyle()->hasStroke()) {
c.setAlphaF(renderStyle->svgStyle()->strokeOpacity());
QPen pen(c);