check_in_path


Description:

public bool check_in_path (double x, double y, Context cr, CanvasPointerEvents pointer_events)

This function is intended to be used by subclasses of CanvasItemSimple.

It checks if the given point is in the current path, using the item's style settings.

Parameters:

this

a CanvasItemSimple.

x

the x coordinate of the point.

y

the y coordinate of the point.

cr

a cairo context.

pointer_events

specifies which parts of the path to check.

Returns:

true if the given point is in the current path.