Function GraMarker() Foundation
Displays a marker (point).
GraMarker( [<oPS>], [<aPoint>] ) --> lSuccess
The return value of GraMarker() is .T. (true) if the marker was drawn, otherwise it is .F. (false). If the return value is .F., the cause of error can be determined with GraError().
The function GraMarker() marks a single point at the position <aPoint>. Various marker types are available (cross, circle, square etc.). They must be selected before the output of a marker by calling the function GraSetAttrMarker(). The default marker is the #define constant GRA_MARKSYM_CROSS. The function GraMarker() does not change the pen position.
// The example shows a basic call to GraMarker().
// It draws two markers. The position of the second marker is
// determined with GraPos(). The first marker is drawn at the
// pen position -> {0,0}
PROCEDURE Main
SetColor("N/W") // fill window with pale gray
CLS
GraMarker() // mark pen position
GraMarker( NIL, {100, 100} ) // mark new point
Inkey(0) // wait for key press
RETURN
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.