×
Menu
Index

GraMarker

 
 
ยท GraMarker( [<aPoint>] ) => 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.
 
 
Parameters are :
 
<aPoint>:= { <nX>, <nY> }
<aPoint> is an array of two elements which determines the coordinates for the point at which the marker is drawn. The first element <nX> specifies the x coordinate and the second element <nY> specifies the y coordinate. The unit for the coordinates depends on the coordinate system defined for the presentation space. If no presentation space is specified, the values for the coordinates are specified in pixels, which is the unit for a window. The origin for the coordinates (the point {0,0}) is the lower left. If <aPoint> is not specified, the marker is drawn at the current pen position.