Re: Clipping and on-demand redraw

"Enrico Weigelt, metux IT consult" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On 09.01.2016 23:37, Lawrence D'Oliveiro wrote:
> On Sat, 9 Jan 2016 23:11:44 +0100, Enrico Weigelt, metux IT consult
> wrote:
> 
>> But I dont know yet, how to do that also w/ rotation.
> 
> You can convert the bounding rectangle of the widget to a clip path, and
> do path intersection/subtraction etc.
> 
> Or you could simplify it, and compute a bigger axis-aligned bounding
> rectangle for a rotated widget. Then you only need to do operations
> on axis-aligned rectangles.

hmm, could you perhaps give me some example ?


--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.