get_surface_copy


Description:

public DockSurface get_surface_copy (int width, int height, DockSurface model)

Returns a copy of the dock surface for this item.

It will trigger an internal redraw if the requested size isn't matching the cache.

Parameters:

width width of the icon surface
height height of the icon surface
model existing surface to use as basis of new surface

Returns:

the copied dock surface for this item