Phoc.Surface
Description: Reference for Phoc.Surface

### Class

# PhocSurface

#### Description [src]

    final class Phoc.Surface : GObject.Object
    {
      /* No available fields */
    }

A Wayland wl_surface backed by a wlr_surface.

#### Hierarchy

#### Ancestors

- GObject

#### Constructors

###### phoc_surface_new

No description available.

#### Instance methods

###### phoc_surface_add_damage

Adds the given region to the surface’s damaged region. The damage will be collected by the `phoc_*_apply_damage()` functions. The damaged region is not clipped to the surface.

###### phoc_surface_add_damage_box

Convenience function to add a box to the surface’s damaged region. See `phoc_surface_add_damage()` for details.

###### phoc_surface_clear_damage

No description available.

###### phoc_surface_get_damage

No description available.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Phoc.Surface:wlr-surface

No description available.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct PhocSurfaceClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.