C
#define LineTo(x, y) Line(_cursorX, _cursorY, x, y)
Overview
This macro draws a line with the current line type from the current graphic cursor position to the given x, y position.
Input Parameters
Input Parameters |
Description |
x |
End point x position. |
y |
End point y poisiton. |
Returns
For NON-Blocking configuration:
- Returns 0 when device is busy and the shape is not yet completely drawn.
- Returns 1 when the shape is completely drawn.
- Always return 1.
Side Effects
The graphic cursor position is moved to the end point of the line.