4#ifndef QSGSOFTWAREPUBLICNODES_H
5#define QSGSOFTWAREPUBLICNODES_H
7#include <QtQuick/qsgrectanglenode.h>
8#include <QtQuick/qsgimagenode.h>
9#include <QtQuick/qsgninepatchnode.h>
10#include <QtGui/qpixmap.h>
11#include <QtCore/private/qglobal_p.h>
77 void updateCachedMirroredPixmap();
85 TextureCoordinatesTransformMode m_transformMode;
86 bool m_cachedMirroredPixmapIsDirty;
109 qreal m_pixelRatio = 1.0;
The QColor class provides colors based on RGB, HSV or CMYK values.
The QPainter class performs low-level painting on widgets and other paint devices.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
bool hasAlphaChannel() const
\inmodule QtCore\reentrant
The QSGImageNode class is provided for convenience to easily draw textured content using the QML scen...
void markDirty(DirtyState bits)
Notifies all connected renderers that the node has dirty bits.
The QSGRectangleNode class is a convenience class for drawing solid filled rectangles using scenegrap...
QSGTexture::Filtering filtering() const override
Returns the filtering for this image node.
QRectF sourceRect() const override
Returns the source rect of this image node.
void setAnisotropyLevel(QSGTexture::AnisotropyLevel) override
Sets this image node's anistropy level to level.
void setRect(const QRectF &rect) override
Sets the target rect of this image node to rect.
void setTexture(QSGTexture *texture) override
Sets the texture of this image node to texture.
void setSourceRect(const QRectF &r) override
Sets the source rect of this image node to rect.
void setMipmapFiltering(QSGTexture::Filtering) override
Sets the mipmap filtering to be used for this image node to filtering.
QSGTexture::Filtering mipmapFiltering() const override
Returns the mipmap filtering for this image node.
QRectF rect() const override
Returns the target rect of this image node.
QSGTexture * texture() const override
Returns the texture for this image node.
TextureCoordinatesTransformMode textureCoordinatesTransform() const override
Returns the mode used to generate texture coordinates for this node.
bool ownsTexture() const override
void setTextureCoordinatesTransform(TextureCoordinatesTransformMode transformNode) override
Sets the method used to generate texture coordinates to mode.
void setFiltering(QSGTexture::Filtering filtering) override
Sets the filtering to be used for this image node to filtering.
void setOwnsTexture(bool owns) override
Sets whether the node takes ownership of the texture to owns.
QSGTexture::AnisotropyLevel anisotropyLevel() const override
Returns this image node's anistropy level.
void setDevicePixelRatio(qreal ratio) override
void setTexture(QSGTexture *texture) override
QSGSoftwareNinePatchNode()
void setPadding(qreal left, qreal top, qreal right, qreal bottom) override
void setBounds(const QRectF &bounds) override
QRectF rect() const override
Returns the rectangle that this rect node covers.
QColor color() const override
Returns the color of this rectangle.
void setColor(const QColor &color) override
Sets the color of this rectangle to color.
QSGSoftwareRectangleNode()
void setRect(const QRectF &rect) override
Sets the rectangle of this rect node to rect.
Filtering
Specifies how sampling of texels should filter when texture coordinates are not pixel aligned.
AnisotropyLevel
Specifies the anisotropic filtering level to be used when the texture is not screen aligned.
Combined button and popup list for selecting options.
GLdouble GLdouble GLdouble GLdouble top