Jérôme, I didn't understand what your suggestion for?

One can easy draw round cornered rectangle with Canvas (see roundedrect.qml
in canvas example)
[image: Встроенное изображение 1]

Based on that example I did my rectangle (with *all *rounded corners) with
tip in one draw path and solved my problem.

2016-10-12 16:32 GMT+03:00 Jérôme Godbout <jer...@bodycad.com>:

> For the round corner with rectangle:
>
> Rectangle
> {
>   border.width: 2
>   border.color: "black"
>   color: Qt.rgba(0,0,0,0)
>   clip: true
>   width: canvas_.width
>   height: canvas_.height
>   Canvas
>   {
>     ...
>   }
> }
>
> Using the clip and the round corner should work.
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to