fillGrad->colorStops(stops, stopsCnt);
break;
}
+ default: {
+ TVGLOG("TVG", "Unsupported tag %d (0x%x) used as one of the fill properties, %d bytes skipped", block.type, block.type, block.length);
+ break;
+ }
}
ptr = block.end;
}
if (!_parseShapeStrokeDashPattern(block.data, block.end, shape)) return false;
break;
}
+ default: {
+ TVGLOG("TVG", "Unsupported tag %d (0x%x) used as one of stroke properties, %d bytes skipped", block.type, block.type, block.length);
+ break;
+ }
}
ptr = block.end;
}
break;
}
default: {
- TVGERR("TVG", "Invalid Paint Type (%d)", baseBlock.type);
+ TVGERR("TVG", "Invalid Paint Type %d (0x%x)", baseBlock.type, baseBlock.type);
return nullptr;
}
}
auto block = _readBlock(ptr);
if (block.end > baseBlock.end) return paint;
if (!parser(block, paint)) {
- TVGERR("TVG", "Encountered the wrong paint properties... Paint Class (%d)", baseBlock.type);
+ TVGERR("TVG", "Encountered the wrong paint properties... Paint Class %d (0x%x)", baseBlock.type, baseBlock.type);
return paint;
}
ptr = block.end;
}
return scene;
-}
\ No newline at end of file
+}