set_surface_size
Description:
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 | |
width |
the new width of the surface |
height |
the new height of the surface |