// XXX todo
}
-int QSGPaintedItem::pixelCacheSize() const
-{
- // XXX todo
- return 0;
-}
-
-void QSGPaintedItem::setPixelCacheSize(int)
-{
- // XXX todo
-}
-
-bool QSGPaintedItem::smoothCache() const
-{
- // XXX todo
- return false;
-}
-
-void QSGPaintedItem::setSmoothCache(bool)
-{
- // XXX todo
-}
-
/*!
\property QSGPaintedItem::fillColor
\brief The item's background fill color.
Q_PROPERTY(QSize contentsSize READ contentsSize WRITE setContentsSize NOTIFY contentsSizeChanged)
Q_PROPERTY(QColor fillColor READ fillColor WRITE setFillColor NOTIFY fillColorChanged)
- Q_PROPERTY(int pixelCacheSize READ pixelCacheSize WRITE setPixelCacheSize)
- Q_PROPERTY(bool smoothCache READ smoothCache WRITE setSmoothCache)
Q_PROPERTY(qreal contentsScale READ contentsScale WRITE setContentsScale NOTIFY contentsScaleChanged)
Q_PROPERTY(RenderTarget renderTarget READ renderTarget WRITE setRenderTarget NOTIFY renderTargetChanged)
public:
qreal contentsScale() const;
void setContentsScale(qreal);
- int pixelCacheSize() const;
- void setPixelCacheSize(int pixels);
-
- bool smoothCache() const;
- void setSmoothCache(bool on);
-
QColor fillColor() const;
void setFillColor(const QColor&);