third_party/cairo/src/win32/cairo-win32-display-surface.c
cairo_surface_t *
cairo_win32_surface_create_with_dib (cairo_format_t format,
				     int	    width,
				     int	    height)
{
    if (! CAIRO_FORMAT_VALID (format))
	return _cairo_surface_create_in_error (_cairo_error (CAIRO_STATUS_INVALID_FORMAT));

    return _cairo_win32_display_surface_create_for_dc (NULL, format, width, height);
}
/**
 * cairo_win32_surface_create_with_dib:
 * @format: format of pixels in the surface to create
 * @width: width of the surface, in pixels
 * @height: height of the surface, in pixels
 *
 * Creates a device-independent-bitmap surface not associated with
 * any particular existing surface or device context. The created
 * bitmap will be uninitialized.
 *
 * Return value: the newly created surface
 *
 * Since: 1.2
 **/
@format: format of pixels in the surface to create
@width: width of the surface, in pixels
@height: height of the surface, in pixels

Creates a device-independent-bitmap surface not associated with
any particular existing surface or device context. The created
bitmap will be uninitialized.

Return value: the newly created surface


@format : format of pixels in the surface to create @width : width of the surface in pixels @height : height of the surface in pixels Creates a device - independent - bitmap surface not associated with any particular existing surface or device context . The created bitmap will be uninitialized . Return value : the newly created surface
cairo_surface_t *
cairo_win32_surface_create_with_dib (cairo_format_t format,
				     int	    width,
				     int	    height)
{
    if (! CAIRO_FORMAT_VALID (format))
	return _cairo_surface_create_in_error (_cairo_error (CAIRO_STATUS_INVALID_FORMAT));
    return _cairo_win32_display_surface_create_for_dc (NULL, format, width, height);
}
cairo_surface_t * cairo_win32_surface_create_with_dib ( cairo_format_t format , int width , int height ) { if ( ! CAIRO_FORMAT_VALID ( format ) ) return _cairo_surface_create_in_error ( _cairo_error ( CAIRO_STATUS_INVALID_FORMAT ) ) ; return _cairo_win32_display_surface_create_for_dc ( NULL , format , width , height ) ; }
cairo_win32_surface_create_with_dib:
 @format: format of pixels in the surface to create
 @width: width of the surface, in pixels
 @height: height of the surface, in pixels
cairo_win32_surface_create_with_dib : @format : format of pixels in the surface to create @width : width of the surface in pixels @height : height of the surface in pixels