[Qt-interest] Cut an image from SVG outline

Angelo Compagnucci angelo.compagnucci at gmail.com
Wed Sep 9 12:49:26 CEST 2009


Hi list members,
I have to cut a QGraphicsPixmapItem following the outline from an SVG item.

The workflow of the application should be similar to this:

1) Load an svg into a QGraphicsSvgItem (the svg item is simple empty
item sorrounded by an irregular black outline)
2) Load an image into a QGraphicsPixmapItem
3) Fill the svgitem with pixmap only into the outline.

Which is the best way to acheive this?

Thank you for your answers!



More information about the Qt-interest-old mailing list