BufferSurface.with_buffer_surface


Description:

public BufferSurface.with_buffer_surface (int width, int height, BufferSurface model)

Constructs a new, empty Granite.Drawing.BufferSurface with the supplied dimensions, using the supplied Granite.Drawing.BufferSurface as a model.

Parameters:

width

the width of the new Granite.Drawing.BufferSurface, in pixels

height

the height of the new Granite.Drawing.BufferSurface, in pixels

model

the Granite.Drawing.BufferSurface to use as a model for the internal Cairo.Surface