Re: Recording Surfaces (was Re: virtual surfaces and composition)

Adrian Johnson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On 10/12/15 07:56, Lawrence D'Oliveiro wrote:
> On Wed, 09 Dec 2015 15:47:01 +0000, Henry (Yu) Song wrote:
> 
>> Does cairo recording surface work for you?  Unfortunately cairo
>> recording surface does not have "TRUE" playback though.
> 
> I did one brief experiment with recording surfaces: I drew a simple
> circle shape, and then constructed a pattern from that surface to draw
> into another surface.
> 
> However, when I scaled up the pattern, it looked blurred. Which
> surprised me, because I thought it would be resolution-independent.
> 

It works for me. All the recording surface does is record the drawing
API commands and their parameters and replay them to the target surface.
It does not save a rendered image. Replaying to different scales should
work unless there was a bug in the version you tried.

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