set_surface_size


Description:

public void set_surface_size (uint width, uint height)

Resizes the Cairo surface used by this to width and height.

Note:

Use Canvas instead

This function will not invalidate the contents of the Cairo texture: you will have to explicitly call either invalidate_rectangle or invalidate.

Parameters:

this

a CairoTexture

width

the new width of the surface

height

the new height of the surface