DtkDeclarative
DTK Declarative module
载入中...
搜索中...
未找到
Dtk::Quick::DQuickItemViewportPrivate类 参考
类 Dtk::Quick::DQuickItemViewportPrivate 继承关系图:

Public 类型

enum  DirtyStateBit {
  DirtyNothing = 0x0 , DirtySourceSizeRatio = 0x1 , DirtyMaskTexture = 0x2 , DirtyMaskSizeRatio = 0x4 ,
  DirtyMaskOffset = 0x8 , DirtyContentNode = 0x10
}
 

Public 成员函数

 DQuickItemViewportPrivate (DQuickItemViewport *qq)
 
void markDirtys (DirtyState states)
 
void markDirty (DirtyStateBit state, bool dirty=true)
 
void initSourceItem (QQuickItem *old, QQuickItem *item)
 
void itemGeometryChanged (QQuickItem *item, QQuickGeometryChange data, const QRectF &) override
 
const QVector2D & getSoureSizeRatio ()
 
const QVector2D & getMaskSizeRatio ()
 
const QVector2D & getMaskOffset ()
 
QSGTexture * textureForRadiusMask ()
 
bool needMaskNode () const
 
bool updateOffset (const QPointF &offset)
 
QRectF getSourceRect () const
 
template<typename T >
void updateSourceRect (T *node) const
 
void setPreprocessNode (PreprocessNode *newNode)
 
void clearPreprocessNode (PreprocessNode *oldNode)
 
void updateUsePreprocess () const
 
void ensureTexture ()
 

Public 属性

QPointer< QQuickItem > sourceItem
 
QAtomicPointer< PreprocessNodepreprocessNode
 
QVector2D soureSizeRatio
 
MaskTextureCache::TextureData maskTexture
 
QVector2D maskSizeRatio
 
QVector2D maskOffset
 
QMetaObject::Connection textureChangedConnection
 
QPointF offset = QPointF(0, 0)
 
QRectF sourceRect
 
DirtyState dirtyState = DirtyNothing
 
float radius = 0
 
bool fixed = false
 
bool hideSource = false
 
QSGLayer * texture = nullptr
 
DQuickViewportTextureProviderprovider = nullptr
 

该类的文档由以下文件生成: