Description
Determines whether a specified point touches
the outline of this path when the path is drawn by a specified Graphics
object and a specified pen.
Syntax
GpStatus WINGDIPAPI
GdipIsOutlineVisiblePathPoint(
GpPath* path,
REAL x,
REAL y,
GpPen *pen,
GpGraphics
*graphics,
BOOL *result
);
PowerBASIC Syntax
DECLARE FUNCTION GdipIsOutlineVisiblePathPoint
( _
BYVAL path AS
DWORD, _
BYVAL x AS
SINGLE, _
BYVAL y AS
SINGLE, _
BYVAL pen AS
DWORD, _
BYVAL graphics
AS DWORD, _
BYREF result AS
LONG _
) AS LONG
Parameters
path
[in] Pointer to a GraphicsPath
object.
x
[in] Simple precision number that specifies the
x-coordinate of the point to be tested.
y
[in] Simple precision number that specifies the
x-coordinate of the point to be tested.
pen
[in] Pointer to a Pen
object. This method determines whether the test point touches the path
outline that would be drawn by this pen. More points will touch an
outline drawn by a wide pen than will touch an outline drawn by a
narrow pen.
graphics
[in] Pointer to a Graphics
object that specifies a world-to-device transformation. If the value of
this parameter is NULL, the test is done in world coordinates;
otherwise, the test is done in device coordinates. The default value is
NULL.
result
[out] Pointer to a variable that receives a boolean
value indicating whether test point touches the outline of this path (TRUE) or
not (FALSE).
|