+ // FIXME: this should go at the top of this method
+ SVG.Affine ctm_;
+ if (transform != null) {
+ if (ctm == null) ctm = SVG.Affine.identity();
+ ctm_ = ctm.copy();
+ ctm_.multiply(transform);
+ } else {
+ ctm_ = ctm;
+ }
+
+ if (path != null) {
+ SVG.VP vp = SVG.VP.fromString(path);
+ if (ctm_ != null) vp.multiply(ctm_);
+ vp.sort();
+ vp.fill(buf, null, 0xFFFF0000, null);
+ vp.stroke(buf, 100, textcolor, false);
+ }
+