Class

Gjsgjs/cairodefaultRegion

A region object used for representing a set of pixels.

Constructor takes no arguments — Cairo regions start empty and grow via unionRectangle / union. Source: gjs/modules/cairo-region.cpp constructor_impl.

Hierarchy (View Summary)

Index

Constructors

Methods

  • Intersect this region with other in place (this ← this ∩ other). Source: cairo-region.cpp REGION_DEFINE_REGION_FUNC(intersect).

    Parameters

    Returns void

  • Number of disjoint rectangles in the region's decomposition. Source: cairo-region.cpp num_rectangles_func.

    Returns number

  • Subtract other from this region in place (this ← this ∖ other). Source: cairo-region.cpp REGION_DEFINE_REGION_FUNC(subtract).

    Parameters

    Returns void

  • Union this region with other in place (this ← this ∪ other). Source: cairo-region.cpp REGION_DEFINE_REGION_FUNC(union).

    Parameters

    Returns void

  • Replace this region with the symmetric difference (this ⊕ other). Source: cairo-region.cpp REGION_DEFINE_REGION_FUNC(xor).

    Parameters

    Returns void