如何使用QQuickPaintedItem仅绘制可见区域?

时间:2017-11-02 09:41:01

标签: c++ qt qml qt5 qtquick2

我想将许多数据绘制为 QQuickPaintedItem 的行。

Flickable
{
  /* small width and height */
  MyPaintedItem
  { /* large width and height */ }
}

然后我遇到了由CPU引起的性能问题 屏幕上的数据很少同时出现 如何只使用 QQuickPaintedItem 绘制可见区域,而不将 Flickable visibleArea传递给 MyPaintedItem

0 个答案:

没有答案