[prev in list] [next in list] [prev in thread] [next in thread]
List: cairo
Subject: Re: [cairo] [Win32] Why does Win32 surface return NULL for
From: Behdad Esfahbod <behdad () behdad ! org>
Date: 2007-05-24 0:34:19
Message-ID: 1179966859.28979.1.camel () behdad
[Download RAW message or body]
On Fri, 2007-05-18 at 19:53 -0400, Kouhei Sutou wrote:
> 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().
You are right. Moreover, _cairo_win32_print_gdi_error() should not
print anything to stderr.
Anyone with win32 willing to fix these?
> Thanks,
> --
> kou
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
_______________________________________________
cairo mailing list
cairo@cairographics.org
http://cairographics.org/cgi-bin/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic