Hi,<br>I ran cairo's tests with our xserver implementation. For the unantialiased-shapes test, one of the trapezoids produced by cairo is:<br>
{top=150 bottom=200 left={x1=200 y1=120 x2=225 y2=200};right={x1=240 y1=150 x2=175 y2=200};} <br>
which looks something like <a href="http://kamalneet.googlepages.com/strange-trap.png" target="_blank">http://kamalneet.googlepages.com/strange-trap.png</a><br><br>Is this a valid trapezoid? By the definitions I read, this does not seem to be correct. Or maybe this is what a "concave trapezoid" is. <br>
<br>The XRender specification says, "All trapezoids must be convex. Rendering of concave trapezoids is unspecified<br>except that the result must obey the clipping rules."<br><br>Is this a bug in cairo, or I am not taking care of something?<br>
<br>I'll be thankful if someone sheds a light on this issue.<br><br>~kammal<br>