Skip to content

Commit 5adb38f

Browse files
update rotate attribute value
1 parent ce08ce8 commit 5adb38f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plotters-svg/src/svg.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,17 +589,17 @@ impl<'a> DrawingBackend for SVGBackend<'a> {
589589
FontTransform::Rotate90 => {
590590
attrwriter
591591
.write_key("transform")
592-
.write_value(("rotate(90,", x0, ',', y0, ')'));
592+
.write_value(("rotate(90, ", x0, ", ", y0, ')'));
593593
}
594594
FontTransform::Rotate180 => {
595595
attrwriter
596596
.write_key("transform")
597-
.write_value(("rotate(180,", x0, ',', y0, ')'));
597+
.write_value(("rotate(180, ", x0, ", ", y0, ')'));
598598
}
599599
FontTransform::Rotate270 => {
600600
attrwriter
601601
.write_key("transform")
602-
.write_value(("rotate(270,", x0, ',', y0, ')'));
602+
.write_value(("rotate(270, ", x0, ", ", y0, ')'));
603603
}
604604
_ => {}
605605
}

0 commit comments

Comments
 (0)