[cairo] how to substitute CAIRO_CLIP_PATH_IS_BOX ?
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Fri Dec 11 04:07:55 PST 2015
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
More information about the cairo
mailing list