Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src.qt3support.painting.q3picture.cpp

//! [0]
        Q3Picture picture;
        picture.load("drawing.svg", SVG);
//! [0]


//! [1]
         Q3Picture picture;
         QPainter painter;
         painter.begin(&picture);           // paint in picture
         ...
         painter.end();                     // painting done
         picture.save("drawing.svg", SVG);  // save picture
//! [1]



Generated by  Doxygen 1.6.0   Back to index