home *** CD-ROM | disk | FTP | other *** search
- /*
- * BCC2GRX - Interfacing Borland based graphics programs to LIBGRX
- * Copyright (C) 1993 Hartmut Schirmer
- *
- * see bccgrx.c for details
- */
-
- #include "bccgrx00.h"
-
- void rectangle(int left, int top, int right, int bottom)
- {
- _DO_INIT_CHECK;
- if (__gr_lstyle == SOLID_LINE && LNE.lno_width == 1)
- GrBox( left+VL, top+VT, right+VL, bottom+VT, COL|WR);
- else {
- LNE.lno_color = COL|WR;
- GrCustomBox( left+VL, top+VT, right+VL, bottom+VT, &__gr_Line);
- }
- }
-
-