Method

PhoshLayerSurfaceset_size

Declaration [src]

void
phosh_layer_surface_set_size (
  PhoshLayerSurface* self,
  int width,
  int height
)

Description [src]

Set the size of a layer surface. A value of ‘-1’ indicates ‘use old value’

Parameters

width

Type: int

The height in pixels.

height

Type: int

The width in pixels.