2D_POINT

2D_POINT X,Y

DRAWS THE POINT (X,Y)

  • Type: Command
  • Parameters: 2
  • Group: Drawing

ACTION

The command 2D_POINT X,Y draws on the "2D target" system object (set by 2D_TARGET_IS), the point (X,Y) with the drawing color set by 2D_PEN_COLOR.

X and Y are expressed in pixels and the origin (0,0) of the coordinates is the upper left corner of the system object.

By default, the drawing color is black and the "2D target" system object is : FORM number 0.

SYNTAX: 2D_POINT X,Y

  • X = X-component value (integer or real) of the point.
  • Y = Y-component value (integer or real) of the point.

USE

  • The command 2D_POINT is used to draw a point on the "2D target" system object.

ERROR

  • If X or Y is not a correct expression.

EXAMPLE

rem draw the point (10,20)

2d_point 10,20

SEE ALSO

2D_ARC

2D_PEN_COLOR

2D_LINE

2D_POLY_TO

2D_POLY_FROM