[cairo] Virtual surface
Behdad Esfahbod
behdad.esfahbod at gmail.com
Mon Aug 10 09:38:03 PDT 2009
I have the same question as Joonas: what's a single-line statement of the
purpose of this virtual surface?
behdad
On 08/09/2009 11:49 AM, M Joonas Pihlaja wrote:
> Hi Mike,
>
> On Sat, 8 Aug 2009, Mike Emmel wrote:
>
>> Hi all I have a good start on a virtual surface backed by a real surface.
>
>> I've found it very useful for scaled widgets virtual screens and other
>> cases where you wan't the hard clipping provided by a surface and
>> other surface features but don't want a buffer or image surface. Such
>> as when the backing surface is already buffered.
>
> I scanned through the code real quick and it looks like it's all about
> proxying methods for another surface and also letting the user set the
> size and scale of the new surface. As far as I can tell, that's all
> it does though. Did I miss something else? I'm a little confused as
> to what purpose the virtual surface has and what exactly is "virtual"
> about it.
>
> I'm also not sure what you mean by using this virtual surface for
> clipping. Isn't it cairo_clip()'s purpose in life to clip your
> drawing for you?
>
> TIA,
>
> Joonas
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
More information about the cairo
mailing list