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 line(int x1, int y1, int x2, int y2)
- {
- _DO_INIT_CHECK;
- moveto( x2, y2);
- if (__gr_lstyle == SOLID_LINE && LNE.lno_width == 1)
- GrLine( x1+VL, y1+VT, X+VL, Y+VT, COL|WR);
- else {
- LNE.lno_color= COL|WR;
- GrCustomLine( x1+VL, y1+VT, X+VL, Y+VT, &LNE);
- }
- }
-
-