Surface.with_cairo_surface


Description:

public Surface.with_cairo_surface (int width, int height, Surface model)

Creates a new surface compatible with an existing Cairo.Surface.

Parameters:

width

width of the new surface

height

height of the new surface

model

existing Cairo.Surface to be similar to