AggPas - Anti-Grain Geomertry for Object Pascal

TAgg2D.InBox(worldX, worldY): boolean

Description

Checks whether coordinates are within the clipping rectangle.

Parameters

worldX: double

X world (user) coordinate [in subpixels].

worldY: double

Y world (user) coordinate [in subpixels].

Returns

If True, coordinates are inside the clipping rectangle (visible after rendering).

If False, coordinates are not inside the clipping rectangle.