set_start_surface


Description:

public bool set_start_surface (Surface surface)

Before initiating a crossfade with start a start and end surface have to be set.

This function sets the surface shown at the beginning of the crossfade effect.

Parameters:

this

a BGCrossfade

surface

The cairo surface to fade from

Returns:

true if successful, or false if the surface could not be copied.