[cairo] Drawing into a memory block
ellson at research.att.com
Thu Apr 14 04:27:42 PDT 2005
Jonathan Roewen wrote:
>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...
>cairo mailing list
>cairo at cairographics.org
Are you having the same problem that I had. That "_for_" in the API
names really means "_from_" ?
This function is (I suspect) for reading from memory data; not to set
up for output to memory.
More information about the cairo