R2 - DrawLine


void R2::DrawLine(long long x1,
                  long long y1,
                  long long x2,
                  long long y2)

This method draws a line.

Parameters

long long x1

The x-coordinate of the starting point of the line.

long long y1

The y-coordinate of the starting point of the line.

long long x2

The x-coordinate of the ending point of the line.

long long y2

The y-coordinate of the ending point of the line.