[Qt-interest] almost have what i need

Nehemiah Dacres dacresni at slu.edu
Sat Jan 3 06:15:46 CET 2009


I want to render an SVG and do a transform on all elements of a given id. In
fact, I want a few specific elements with certain ids (like particular
layers created by what ever they created the SVG in) to have a particular
transformation depending on which layer/id they have. I thought I could
render the scene with layered SVGs for a dynamic animation (like a 2d video
game) and for each svg image i render each element of the given id with a
particular transformation.  I thought i could give each image a spesific
QSvgRenderer but QSvgRenderer::matrixForElement takes an id and returns
a matrix instead (which i dont understand its purpose ) I wanted the other
way around I want to pass a rendere a transformation matrix and then, like I
said, It would render the elements in the SVG by the given matrix . Is there
any other way?  is there something im missing?


-- 
Nehemiah I. Dacres
Secretary
Math and Computer Science Club <http://mathcs.slu.edu/math-cs-club>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090102/3a81800d/attachment.html 


More information about the Qt-interest-old mailing list