R2 - DrawLine


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

This method draws a line.

Parameters

double x1

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

double y1

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

double x2

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

double y2

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