Region.equal

Compares whether region_a is equivalent to region_b. NULL as an argument is equal to itself, but not to any non-NULL region. Since 1.10

class Region
equal

Parameters

b Region

a cairo_region_t or NULL

Return Value

TRUE if both regions contained the same coverage, FALSE if it is not or any region is in an error status.