[Kde-games-devel] KSVGRenderer::render seems to ignore image size

Mauricio Piacentini piacentini at kde.org
Thu Jan 31 03:27:37 CET 2008


Andreas Pakulat wrote:
> I don't quite understand why that happens, the code for the frontsides
> is essentially the same, except I'm calling KSVGRenderer::render(
> QPaint*, const QString& id ) instead. And that works fine.

Welcome to the wild world of QtSvgRenderer! Yes, you need to use a 
explicit id, otherwise you get strange results depending on how the rect 
for your document is parsed.

Regards,
Mauricio Piacentini


More information about the kde-games-devel mailing list