outside.
Context.inClip
cairo.types.Bool inClip(double x, double y)Tests whether the given point is inside the area that would be visible through the current clip, i.e. the area that would be filled by a [cairo.context.Context.paint] operation.
See [cairo.context.Context.clip], and [cairo.context.Context.clipPreserve].
Parameters
x | X coordinate of the point to test |
y | Y coordinate of the point to test |
Returns
A non-zero value if the point is inside, or zero if