line function

bool line(
  1. Pointer<SdlRenderer> renderer,
  2. double x1,
  3. double y1,
  4. double x2,
  5. double y2,
)

Implementation

bool line(
    Pointer<SdlRenderer> renderer, double x1, double y1, double x2, double y2) {
  /*
	* Draw
	*/
  return sdlRenderLine(renderer, x1, y1, x2, y2);
}