Re: [Interest] Transparent rectangle with radius in one side

2021-10-05 Thread Shawn Rutledge
Try QtQuick.Shapes; you can get any shape you want. However those don’t do vertex antialiasing, so you might need to turn on MSAA to get rid of the jaggies. So it would be best to try to put all the shapes as children of one item (or children of a root shape) so that you only need to set layer

Re: [Interest] Transparent rectangle with radius in one side

2021-10-05 Thread Julien Cugnière
Le mar. 5 oct. 2021 à 04:28, Murat ŞEKER via Interest a écrit : > We have a Quick scene where we draw a lot of semi-transparent rectangles and > those rectangles are rounded in one side. As a representative : > ... > As it can be seen from the snippet above we use clipping to achieve rounding >

Re: [Interest] Transparent rectangle with radius in one side

2021-10-04 Thread Murat ŞEKER via Interest
Sorry for the formatting. Rich formatting ruined it. Here we go again : Hello, We have a Quick scene where we draw a lot of semi-transparent rectangles and those rectangles are rounded in one side. As a representative : Rectangle { id: clipper width: 100 height: 100 opacity: 0.5

[Interest] Transparent rectangle with radius in one side

2021-10-04 Thread Murat ŞEKER via Interest
Hello, We have a Quick scene where we draw a lot of semi-transparent rectangles and those rectangles are rounded in one side. As a representative : Rectangle {    id: clipper    width: 100    height: 100    opacity: 0.5    clip: true     Rectangle {        id: clipped        radius: 20.0