how to substitute CAIRO_CLIP_PATH_IS_BOX ?

"Enrico Weigelt, metux IT consult" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Hi folks,


the flags field in cairo_clip_path_t had been removed, but the DRM
backend still uses it:

> static cairo_clip_path_t *
> _clip_get_solitary_path (const cairo_clip_t *clip)
> {
>     cairo_clip_path_t *iter = clip->path;
>     cairo_clip_path_t *path = NULL;
>
>     do {
>         if ((iter->flags & CAIRO_CLIP_PATH_IS_BOX) == 0) {
>             if (path != NULL)
>                 return FALSE;
>
>             path = iter;
>         }
>         iter = iter->prev;
>     } while (iter != NULL);
>
>     return path;
> }


How should I substitute it ?

--mtx

--
Enrico Weigelt,
metux IT consulting
+49-151-27565287
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.