Method

PhocOutputget_cutout_boxes

Declaration [src]

gboolean
phoc_output_get_cutout_boxes (
  PhocOutput* self,
  PhocView* view,
  pixman_region32_t* overlap
)

Description [src]

Checks whether view overlaps with any cutouts of the output.

This method is not directly available to language bindings.

Parameters

view

Type: PhocView

The view to check.

The data is owned by the caller of the method.
overlap

Type: pixman_region32_t*

A (already initialized) region that gets the overlap.

The argument will be modified by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.

Return value

Type: gboolean

TRUE if there is any overlap, otherwise FALSE.