Update text rendering.
This commit is contained in:
parent
8536908eab
commit
8130308f7f
27 changed files with 503 additions and 77 deletions
|
@ -124,6 +124,15 @@ void SvgRectangle::setHeight(double h)
|
|||
addAttribute(std::move(height));
|
||||
}
|
||||
|
||||
void SvgRectangle::setRadius(double radius)
|
||||
{
|
||||
auto rx = std::make_unique<XmlAttribute>("rx");
|
||||
|
||||
rx->setValue(std::to_string(radius));
|
||||
|
||||
addAttribute(std::move(rx));
|
||||
}
|
||||
|
||||
|
||||
SvgPolygon::SvgPolygon()
|
||||
: SvgShapeElement("polygon")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue