如何在Qt中沿路径绘制图案

时间:2013-05-26 02:39:24

标签: qt

是否可以在qt中沿路径绘制模式,如inkscape:http://math.univ-lille1.fr/~barraud/Inkscape/pathdeform/

1 个答案:

答案 0 :(得分:0)

您可以做的是在QPainterPath中定义模式。然后,您可以根据路径变形QPainterPath。

有关此方法的演示,请参阅http://doc.qt.digia.com/4.7/demos-deform.html