Pixmap item.
More...
#include <bpsgraphicsitem.h>
List of all members.
Detailed Description
Member Enumeration Documentation
Sizing mode.
- Enumerator:
| SizeFixed |
Size to fixed pixel per inch (ppi), clipping overflow.
|
| SizeFit |
Scale to fit into rectangle keeping aspect, no larger than original size (default)
|
| SizeFill |
Scale pixmap to completely fill the rectangle.
|
Constructor & Destructor Documentation
| BpsGraphicsPixmapItem::BpsGraphicsPixmapItem |
( |
QGraphicsItem * |
aParent = 0 | ) |
|
Constructor for the class.
- Parameters:
-
Member Function Documentation
- Returns:
- The current alignment.
| QPixmap BpsGraphicsPixmapItem::pixmap |
( |
| ) |
const |
- Returns:
- The current pixmap.
| int BpsGraphicsPixmapItem::ppi |
( |
| ) |
const |
- Returns:
- The current pixel per inch value.
| QRectF BpsGraphicsPixmapItem::rect |
( |
| ) |
const |
- Returns:
- The bounding rectangle of the item.
- Returns:
- The current rotation.
Set new alignment.
- Parameters:
-
| [in] | aAlignment | The new alignment to set. |
| void BpsGraphicsPixmapItem::setPixmap |
( |
const QPixmap & |
aPixmap | ) |
|
Set the current pixmap.
- Parameters:
-
| [in] | aPixmap | The new pixmap to set. |
| void BpsGraphicsPixmapItem::setPpi |
( |
int |
aPpi | ) |
|
Set new pixel per inch value.
- Parameters:
-
| void BpsGraphicsPixmapItem::setRect |
( |
const QRectF & |
aRect | ) |
|
Set a new rectangle for the item.
- Parameters:
-
| [in] | aRect | The new rectangle. |
| void BpsGraphicsPixmapItem::setRotation |
( |
Bps::Rotation |
aRotation | ) |
|
Set new rotation.
- Parameters:
-
| [in] | aRotation | The new rotation to set. |
| void BpsGraphicsPixmapItem::setSizing |
( |
Sizing |
aSizing | ) |
|
Set new sizing mode.
- Parameters:
-
| [in] | aSizing | The new sizing mode. |
| Sizing BpsGraphicsPixmapItem::sizing |
( |
| ) |
const |
- Returns:
- The current sizing mode.
The documentation for this class was generated from the following file: