virtual surfaces and composition

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


I'm currently designing a new widget toolkit (focused on embedded /
full screen targets) and exploring whether cairo is suitable for that.

One important thing I didnt find out yet is how to create virtual
surfaces / canvas'es which later can be composited onto the screen.

The idea goes like this:

For each widget, there will be an virtual surface / canvas, where the
the widget renders itself on. In most cases, it will only be temporarily
accessible - when the engine calls the individual widget's paint handler
(unless the widget explicitly asks for a permanent surface). Optimally
widgets will only be repainted, when it actually changes (eg. not on
moving / scrolling, etc) - it's entirely up to the engine, whether
to buffer pixmaps or paint operations, etc.

How can I achieve that w/ cairo ?


--mtx



-- 

mit freundlichen Grüßen
--
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.