2013-02-15 19 views

回答

0

它基於QPainterPath:http://doc.qt.digia.com/stable/qpainterpath.html

跡線,PathQuad等被組合成單個QPainterPath其可以是給的位置在沿着經由所述QPainterPath路徑的任何點:: pointAtPercent()。

實際的實現緩存了許多點來加速查找。在QtQuick 2.0中,返回的點是兩個最近的緩存點的插值。

+0

那麼如何確定兩個緩存點? – rkc88 2013-02-19 04:32:34

相關問題