Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The Q3Picture class is a paint device that records and replays Q3Painter commands. More...
#include <Q3Picture>
This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.
Inherits QPicture.
The Q3Picture class is a paint device that records and replays Q3Painter commands.
Q3Picture can also read and write SVG (Scalable Vector Graphics) files; these files are in an XML format specified by http://www.w3.org/Graphics/SVG/ W3C. Note that when using the load() and save() functions to read and write SVG files, the format must be specified.
See also QPicture.
Constructs a Q3Picture.
Constructs a copy of other.
Loads the picture in the specified format from the given device. Returns true if the file is loaded successfully; otherwise returns false.
Note that when using the load() function to read SVG files, the format must be specified. For example:
Q3Picture picture; picture.load("drawing.svg", SVG);
See also save().
This is an overloaded member function, provided for convenience.
Loads the picture in the specified format from a file with the given fileName. Returns true if the file is loaded successfully; otherwise returns false.
Saves the picture in the specified format to the given device.
Note that when using the save() function to save SVG files, the format must be specified. For example:
Q3Picture picture; QPainter painter; painter.begin(&picture); // paint in picture ... painter.end(); // painting done picture.save("drawing.svg", SVG); // save picture
See also load().
This is an overloaded member function, provided for convenience.
Saves the picture in the specified format to the file with the given fileName.
See also load().
Copyright © 2007 Trolltech | Trademarks | Qt 4.2.3 |