3 ms·
Qt's QPainter can actually serialize draw calls into SVG; I used that to make "SVG screenshots" of Qt apps from time to time. The resulting fidelity lacks some
by sho_hn 15y ago
Qt's QPainter can actually serialize draw calls into SVG; I used that to make "SVG screenshots" of Qt apps from time to time. The resulting fidelity lacks some polish, and when the app buffers any rendering through pixmaps it has no choice but to embed raster data for those elements into the SVG which then can't scale, but it's a cute little trick nonetheless.