DrawLine

Draws a line onto a drawable.

Synopsis

int DrawLine(Draw draw,double xl,double yl,double xr,double yr,int cl)
Not collective

Input Parameters

draw - the drawing context
xl,yl,xr,yr - the coordinates of the line endpoints
cl - the colors of the endpoints

Keywords

draw, line

Location: src/draw/interface/dline.c
Graphics (Draw) Index
Table of Contents