Hi to all,


I’m a new user of your library. I’m not sure if is the correct way to ask a question, so sorry me if is not the right way.


I’m using your library on Linux.

I’ve build it using CMake and I’ve put the correct linker information on my makefile in this way:


LDXXFLAGS = `pkg-config --libs cairo fontconfig freetype2 pango pangocairo pangoft2 plplotd plplotd-c++` -lpixman-1 -lfreetype -lpng -lexpat -lz -lm -L/usr/lib/nptl -lpthread -static -lplplotcxxd –lplplotd




CCFLAGS = -O0 -march=i686 -ggdb -Wall \

                        `pkg-config --cflags cairo pangocairo plplotd plplotd-c++` \

                        $(DBGFLAG) -I$(main_dir) -I$(common_dir) -I$(config_dir)


In this way all work correct.


I’d like to know how can I get the memory buffer of the working area.

I’m using the library on an embedded pc and I’m using the frame buffer (in a direct way with memcpy() ) to show image. At the moment for plotting chart I have to generate a png, read it and put it on the screen.

Is there a better way?

I know that using cairo or pango cairo, with the function cairo_image_surface_get_data() I’ll get a memory buffer that I can put on the screen. Is there a function or something else that give me the memory buffer in your library?


Thanks a lot.


Best regards,


Andrea Ricchetti



Andrea Ricchetti


Software Engineer


Snap-on Equipment

Via Prov. per Carpi, 33

42015 Correggio (RE) - ITALY

Tel: +39-0522 733411- Fax: +39-0522 733410