if (pTransform) transform = _multiply(pTransform, &transform);
//fill rule
- if (auto flag = static_cast<TvgBinFlag>(shape->fillRule()))
+ if (auto flag = static_cast<TvgBinFlag>(shape->fillRule())) {
cnt = writeTagProperty(TVG_TAG_SHAPE_FILLRULE, SIZE(TvgBinFlag), &flag);
-
+ }
bool preTransform = true;
reserveCount();
auto cnt = serializeChildren(it, &transform, true) + serializePaint(picture, pTransform);
writeReservedCount(cnt);
+ delete(it);
+ return SERIAL_DONE(cnt);
}
- delete(it);
- return SERIAL_DONE(cnt);
}
delete(it);