DrawRectangle

Draws a rectangle onto a drawable.

Synopsis

int DrawRectangle(Draw draw,double xl,double yl,double xr,double yr,
                              int c1, int c2,int c3,int c4)
Not Collective

Input Parameters

draw - the drawing context
xl,yl,xr,yr - the coordinates of the lower left, upper right corners
c1,c2,c3,c4 - the colors of the four corners in counter clockwise order

Keywords

draw, rectangle

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