Function MoveTo

Top 

Declaration:

void MoveTo(unsigned long handle, int x, int y);

Description

Sets up the coordinates of the start point of the line to be drawn with the LineTo function.

Examples

  // To draw a line from the point with coordinates (10, 10) to the point (50, 50).

  MoveTo(handle, 10, 10);

  LineTo(handle, 50, 50);