version 1.1.1.1, 2000/01/09 17:01:14 |
version 1.1.1.3, 2003/09/15 07:09:36 |
Line 164 TERM_PUBLIC void GPIC_text() |
|
Line 164 TERM_PUBLIC void GPIC_text() |
|
} |
} |
|
|
TERM_PUBLIC void GPIC_linetype(linetype) |
TERM_PUBLIC void GPIC_linetype(linetype) |
int linetype; |
int linetype; |
{ |
{ |
if (linetype >= GPIC_NUMLINES - 2) |
if (linetype > 0) |
linetype %= (GPIC_NUMLINES - 2); |
linetype %= (GPIC_NUMLINES - 2); |
GPIC_ltype = linetype; |
GPIC_ltype = linetype + 2; |
} |
} |
|
|
void GPIC_close_line() |
void GPIC_close_line() |
Line 189 unsigned int x, y; |
|
Line 189 unsigned int x, y; |
|
|
|
|
|
TERM_PUBLIC void GPIC_vector(ux, uy) |
TERM_PUBLIC void GPIC_vector(ux, uy) |
unsigned int ux, uy; |
unsigned int ux, uy; |
{ |
{ |
if (GPIC_linecount == 1) { |
if (GPIC_linecount == 1) { |
fprintf(gpoutfile, "line %s to (x+%f,y+%f)", |
fprintf(gpoutfile, "line %s to (x+%f,y+%f)", |
GPIC_lines[GPIC_ltype + 2], |
GPIC_lines[GPIC_ltype], |
GPIC_coord(ux), GPIC_coord(uy)); |
GPIC_coord(ux), GPIC_coord(uy)); |
} else { |
} else { |
fprintf(gpoutfile, "\ |
fprintf(gpoutfile, "\ |