understanding RecordingSurfaces
Andreas Lobinger <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAFfexC3W3J+X4wFYOwf2em7-QpHxbaNW4ZdyeJV++qwUkmPtNA@mail.gmail.com> |
Hello colleagues,
i'm trying to use a RecordingSurface for some intermediate rendering, so i
draw a part of the drawing onto a surface and then paint it with
set_source_surface and paint_with_alpha onto an ImageSurface. This
intermediate is scaled before painted. So i get the pixel interpolation.
Now i moved the intermediate to a RecordingSurface and have two problems.
* If i do not set the size, so unbounded, i immediately get out-of-memory
error.
* Even if i set the size, in large scale factors, i see some pixels in
painting.
The documentation is not clear to me: Is the RecordingSurface, when used as
source, first rendered to a bitmap and then painted?
How would i achieve a scalable recorded vector drawing?
Wishing a happy day,
Andreas
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo