Method
MateDesktopBGcreate_surface_scale
Declaration [src]
cairo_surface_t*
mate_bg_create_surface_scale (
MateBG* bg,
GdkWindow* window,
int width,
int height,
int scale,
gboolean root
)
Description [src]
Create a scaled surface that can be set as background for window. If root is
TRUE, the surface created will be created by a temporary X server connection
so that if someone calls XKillClient on it, it won’t affect the application
who created it.
Parameters
window-
Type:
GdkWindowNo description available.
The data is owned by the caller of the method. width-
Type:
intNo description available.
height-
Type:
intNo description available.
scale-
Type:
intNo description available.
root-
Type:
gbooleanNo description available.
Return value
Type: cairo_surface_t
No description available.
| The caller of the method takes ownership of the data, and is responsible for freeing it. |