Constructor

MateDesktopBGCrossfadenew

Declaration [src]

MateBGCrossfade*
mate_bg_crossfade_new (
  int width,
  int height
)

Description [src]

Creates a new object to manage crossfading a window background between two #cairo_surface_ts.

Parameters

width

Type: int

The width of the crossfading window.

height

Type: int

The height of the crossfading window.

Return value

Type: MateBGCrossfade

The new MateBGCrossfade.

The caller of the function takes ownership of the data, and is responsible for freeing it.