Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQuickCanvasPixmap Class Referencefinal

#include <qquickcanvasitem_p.h>

+ Inheritance diagram for QQuickCanvasPixmap:
+ Collaboration diagram for QQuickCanvasPixmap:

Public Member Functions

 QQuickCanvasPixmap (const QImage &image)
 
 QQuickCanvasPixmap (QQuickPixmap *pixmap)
 
 ~QQuickCanvasPixmap ()
 
QImage image ()
 
qreal width () const
 
qreal height () const
 
bool isValid () const
 
QQuickPixmappixmap () const
 
- Public Member Functions inherited from QQmlRefCounted< QQuickCanvasPixmap >
void release () const
 
- Public Member Functions inherited from QQmlRefCount
 QQmlRefCount ()
 
void addref () const
 
int count () const
 

Additional Inherited Members

- Protected Member Functions inherited from QQmlRefCounted< QQuickCanvasPixmap >
 ~QQmlRefCounted ()
 

Detailed Description

Definition at line 35 of file qquickcanvasitem_p.h.

Constructor & Destructor Documentation

◆ QQuickCanvasPixmap() [1/2]

QQuickCanvasPixmap::QQuickCanvasPixmap ( const QImage & image)

Definition at line 38 of file qquickcanvasitem.cpp.

◆ QQuickCanvasPixmap() [2/2]

QQuickCanvasPixmap::QQuickCanvasPixmap ( QQuickPixmap * pixmap)

Definition at line 45 of file qquickcanvasitem.cpp.

◆ ~QQuickCanvasPixmap()

QQuickCanvasPixmap::~QQuickCanvasPixmap ( )

Definition at line 51 of file qquickcanvasitem.cpp.

Member Function Documentation

◆ height()

qreal QQuickCanvasPixmap::height ( ) const

Definition at line 64 of file qquickcanvasitem.cpp.

References QImage::height(), and QQuickPixmap::height().

+ Here is the call graph for this function:

◆ image()

QImage QQuickCanvasPixmap::image ( )

Definition at line 79 of file qquickcanvasitem.cpp.

References QQuickPixmap::image(), and QImage::isNull().

+ Here is the call graph for this function:

◆ isValid()

bool QQuickCanvasPixmap::isValid ( ) const

Definition at line 72 of file qquickcanvasitem.cpp.

References QImage::isNull(), and QQuickPixmap::isReady().

+ Here is the call graph for this function:

◆ pixmap()

QQuickPixmap * QQuickCanvasPixmap::pixmap ( ) const
inline

Definition at line 47 of file qquickcanvasitem_p.h.

◆ width()

qreal QQuickCanvasPixmap::width ( ) const

Definition at line 56 of file qquickcanvasitem.cpp.

References QImage::width(), and QQuickPixmap::width().

+ Here is the call graph for this function:

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