The OpenD Programming Language

hitTestDG

Call delegate dg for each path under the specified position (in no particular order). Returns the id of the path for which delegate dg returned true or NVGNoPick. dg is: bool delegate (int id, int order) -- order is path ordering (ascending).

int
hitTestDG
(
bool bestOrder = false
DG
)
(,
in float x
,
in float y
,,
scope DG dg
)
if (
IsGoodHitTestDG!DG ||
IsGoodHitTestInternalDG!DG
)

See Also

Meta