LineTo function gdi32

bool LineTo(
  1. HDC hdc,
  2. int x,
  3. int y
)

Draws a line from the current position up to, but not including, the specified point.

To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-lineto.

Implementation

@pragma('vm:prefer-inline')
bool LineTo(HDC hdc, int x, int y) => _LineTo(hdc, x, y) != FALSE;