[cairo] drawing text to a bitmap?

Philip Kovacs kovacsp3 at comcast.net
Sat Jan 20 16:51:40 PST 2007


Is is possible to create a surface for a bitmap (pixmap of depth 1) that would 
allow me to draw text into it?

Is cairo_xlib_surface_create_for_bitmap () what I need?

I get BadDrawable when I hit cairo_show_text () or pango_cairo_show_layout ().   

Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070120/60200159/attachment.pgp


More information about the cairo mailing list