DrawLine

Draws a line onto a drawable.

Synopsis

#include "draw.h" 
int DrawLine(Draw draw,PetscReal xl,PetscReal yl,PetscReal xr,PetscReal 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

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