[cairo] [Win32] Why does Win32 surface return NULL for invalid format?

Kouhei Sutou kou at cozmixng.org
Fri May 18 16:53:58 PDT 2007


Hi,

cairo_win32_surface_create_with_ddb() returns NULL when
passed format is not CAIRO_FORMAT_RGB24. I think
cairo_win32_surface_create_with_ddb() should return nil
surface that has CAIRO_STATUS_INVALID_FORMAT status like
cairo_image_surface_create().


Thanks,
--
kou


More information about the cairo mailing list