Improve node to svg conversion.
This commit is contained in:
parent
64f0b3e77a
commit
26ecae46b3
22 changed files with 403 additions and 126 deletions
|
@ -20,20 +20,33 @@ const Color& MaterialNode::getStrokeColor() const
|
|||
return mStrokeColor;
|
||||
}
|
||||
|
||||
void MaterialNode::setHasStrokeColor(bool hasStroke)
|
||||
{
|
||||
if (mHasStrokeColor != hasStroke)
|
||||
{
|
||||
mHasStrokeColor = hasStroke;
|
||||
mMaterialIsDirty = true;
|
||||
}
|
||||
}
|
||||
|
||||
void MaterialNode::setFillColor(const Color& color)
|
||||
{
|
||||
mHasFillColor = true;
|
||||
|
||||
if (mFillColor != color)
|
||||
{
|
||||
mMaterialIsDirty = true;
|
||||
mFillColor = color;
|
||||
mFillColor = color;
|
||||
}
|
||||
}
|
||||
|
||||
void MaterialNode::setStrokeColor(const Color& color)
|
||||
{
|
||||
mHasStrokeColor = true;
|
||||
|
||||
if (mStrokeColor != color)
|
||||
{
|
||||
mMaterialIsDirty = true;
|
||||
mStrokeColor = color;
|
||||
mStrokeColor = color;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue