third_party/cairo/src/win32/cairo-win32-display-surface.c
cairo_surface_t *
cairo_win32_surface_create (HDC hdc)
{
    return cairo_win32_surface_create_with_format (hdc, CAIRO_FORMAT_RGB24);
}
/**
 * cairo_win32_surface_create:
 * @hdc: the DC to create a surface for
 *
 * Creates a cairo surface that targets the given DC.  The DC will be
 * queried for its initial clip extents, and this will be used as the
 * size of the cairo surface.  The resulting surface will always be of
 * format %CAIRO_FORMAT_RGB24; should you need another surface format,
 * you will need to create one through
 * cairo_win32_surface_create_with_format() or
 * cairo_win32_surface_create_with_dib().
 *
 * Return value: the newly created surface, NULL on failure
 *
 * Since: 1.0
 **/
@hdc: the DC to create a surface for

Creates a cairo surface that targets the given DC.  The DC will be
queried for its initial clip extents, and this will be used as the
size of the cairo surface.  The resulting surface will always be of
format %CAIRO_FORMAT_RGB24; should you need another surface format,
you will need to create one through
cairo_win32_surface_create_with_format() or
cairo_win32_surface_create_with_dib().

Return value: the newly created surface, NULL on failure


@hdc : the DC to create a surface for Creates a cairo surface that targets the given DC . The DC will be queried for its initial clip extents and this will be used as the size of the cairo surface . The resulting surface will always be of format %CAIRO_FORMAT_RGB24 ; should you need another surface format you will need to create one through cairo_win32_surface_create_with_format () or cairo_win32_surface_create_with_dib () . Return value : the newly created surface NULL on failure
cairo_surface_t *
cairo_win32_surface_create (HDC hdc)
{
    return cairo_win32_surface_create_with_format (hdc, CAIRO_FORMAT_RGB24);
}
cairo_surface_t * cairo_win32_surface_create ( HDC hdc ) { return cairo_win32_surface_create_with_format ( hdc , CAIRO_FORMAT_RGB24 ) ; }
cairo_win32_surface_create:
 @hdc: the DC to create a surface for
cairo_win32_surface_create : @hdc : the DC to create a surface for