summaryrefslogtreecommitdiffstats
path: root/doc/codesnippets/doc/src/snippets/code/src_qt3support_painting_q3picture.cpp
blob: 709b3860a34d861f9f91fe1120af243150b2ab45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! [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]