<div>Hi all,</div><div><br></div><div>I have several questions about cairo internals.</div><div><br></div><div>1. Clipping and masking equation</div><div>According to <a href="http://cairographics.org/operators">http://cairographics.org/operators</a>, there&#39;re three kinds of clipping equations,</div>
<div>XRender, Bounded and Simple. However I couldn&#39;t find any case where XRender and </div><div>Bounded equations produce different results. What&#39;s the difference between them?</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
2. Unbounded operation</div><div>Unbounded interpretation is introduced as follows:</div><div><br></div><div>  <span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">The area where the compositing operation is performed is not bounded by the </span></div>
<div><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">  mask. Instead, any parts where the source layer is not transferred are considered </span></div><div><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">  to be fully transparent. We call this interpretation of the source</span><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; "><strong>unbounded</strong></span><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; ">.</span></div>
<div><br></div><div>So does this mean that following equations??</div><div>dst = (src IN mask) OP dst (mask is allowed)</div><div>dst = 0 (mask is not allowed)</div></div><div><br></div><div>3. Limit boxes</div><div>Boxes, traps, polygon can have there limit boxes. I thought the boxes should be disjoint, </div>
<div>because I couldn&#39;t find any handling of overlapping boxes. Is this true?</div><div><br></div><div>4. cairo_composite_rectangle_t</div><div>In case of cairo_fill(), the member &quot;bounded&quot; is calculated by fill extents approximation.</div>
<div>So although a path is finally tessellated into a single box, it might not be the same with </div><div>&quot;bounded&quot;, right?</div><div><br></div><div><br></div><div>Thanks in advance</div><div><div><br>-- <br>Best Regards,<div>
Taekyun Kim</div><br>
</div></div>