QtBase  v6.3.1
Public Member Functions | List of all members
Picture Class Reference
Inheritance diagram for Picture:
Inheritance graph
[legend]
Collaboration diagram for Picture:
Collaboration graph
[legend]

Public Member Functions

 Picture ()
 
QPaintEnginepaintEngine () const override
 
- Public Member Functions inherited from QPicture
 QPicture (int formatVersion=-1)
 
 QPicture (const QPicture &)
 
 ~QPicture ()
 
bool isNull () const
 
int devType () const override
 
uint size () const
 
const char * data () const
 
virtual void setData (const char *data, uint size)
 
bool play (QPainter *p)
 
bool load (QIODevice *dev)
 
bool load (const QString &fileName)
 
bool save (QIODevice *dev)
 
bool save (const QString &fileName)
 
QRect boundingRect () const
 
void setBoundingRect (const QRect &r)
 
QPictureoperator= (const QPicture &p)
 
void swap (QPicture &other) noexcept
 
void detach ()
 
bool isDetached () const
 
DataPtrdata_ptr ()
 
- Public Member Functions inherited from QPaintDevice
virtual ~QPaintDevice ()
 
bool paintingActive () const
 
int width () const
 
int height () const
 
int widthMM () const
 
int heightMM () const
 
int logicalDpiX () const
 
int logicalDpiY () const
 
int physicalDpiX () const
 
int physicalDpiY () const
 
qreal devicePixelRatio () const
 
qreal devicePixelRatioF () const
 
int colorCount () const
 
int depth () const
 

Additional Inherited Members

- Public Types inherited from QPicture
typedef QExplicitlySharedDataPointer< QPicturePrivateDataPtr
 
- Public Types inherited from QPaintDevice
enum  PaintDeviceMetric {
  PdmWidth = 1 , PdmHeight , PdmWidthMM , PdmHeightMM ,
  PdmNumColors , PdmDepth , PdmDpiX , PdmDpiY ,
  PdmPhysicalDpiX , PdmPhysicalDpiY , PdmDevicePixelRatio , PdmDevicePixelRatioScaled
}
 
- Static Public Member Functions inherited from QPaintDevice
static qreal devicePixelRatioFScale ()
 
- Protected Member Functions inherited from QPicture
 QPicture (QPicturePrivate &data)
 
int metric (PaintDeviceMetric m) const override
 
- Protected Member Functions inherited from QPaintDevice
 QPaintDevice () noexcept
 
virtual void initPainter (QPainter *painter) const
 
virtual QPaintDeviceredirected (QPoint *offset) const
 
virtual QPaintersharedPainter () const
 
- Protected Attributes inherited from QPaintDevice
ushort painters
 

Detailed Description

Definition at line 165 of file tst_qpicture.cpp.

Constructor & Destructor Documentation

◆ Picture()

Picture::Picture ( )
inline

Definition at line 168 of file tst_qpicture.cpp.

Member Function Documentation

◆ paintEngine()

QPaintEngine* Picture::paintEngine ( ) const
inlineoverridevirtual

Reimplemented from QPicture.

Definition at line 169 of file tst_qpicture.cpp.


The documentation for this class was generated from the following file: