[cairo] Drawing into a memory block

Jonathan Roewen jonathan.roewen at gmail.com
Wed Apr 13 17:02:10 PDT 2005


How do I get cairo to draw into a block of memory representing my
linear frame buffer?

I'm trying to get one of the snippets to draw into the memory and have
it displayed onscreen (without buffering), but nothing appears to be

The function I'm using to create the surface is:
cairo_image_surface_create_for_data(gfx_info->video_base, ....); where
video_base is pointer to LFB.

However, I'm having trouble finding exactly what I need in the
documention, so I'm not sure where I'm going wrong...

Kindest Regards,

Jonathan Roewen

More information about the cairo mailing list