BufferSurface.with_buffer_surface
Description:
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 |