<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - cairo_region cannot be used with CLIP, as NO public API is exposed to use it in cairo_context/surface"
href="https://bugs.freedesktop.org/show_bug.cgi?id=55836#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - cairo_region cannot be used with CLIP, as NO public API is exposed to use it in cairo_context/surface"
href="https://bugs.freedesktop.org/show_bug.cgi?id=55836">bug 55836</a>
from <span class="vcard"><a class="email" href="mailto:adhir.garg@gmail.com" title="Adhir <adhir.garg@gmail.com>"> <span class="fn">Adhir</span></a>
</span></b>
<pre>No, I am looking for function like
cairo_bool_t
cairo_clip_region (cairo_t *cr,
cairo_region_t *region)
as mentioned in <a href="http://www.gtkforums.com/viewtopic.php?f=3&t=54873">http://www.gtkforums.com/viewtopic.php?f=3&t=54873</a>
Thanks to Carlos for giving me the link
(In reply to <a href="show_bug.cgi?id=55836#c1">comment #1</a>)
<span class="quote">> What you want is a cairo_append_region() convenience function:
>
> for (i in cairo_region_num_rectangles())
> cairo_rectangle(cr, cairo_region_get_rectangle(i));</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>