13 PLDLLIMPEXP_DRIVER const char* plD_DEVICE_INFO_dg300 =
"dg300:DG300 Terminal:0:dg300:25:dg300\n";
18 void plD_line_dg(
PLStream *,
short,
short,
short,
short );
42 #ifndef ENABLE_DYNDRIVERS
69 printf(
"\n\036\107\051\n" );
70 scanf(
"%s", (
char *) &termattr );
71 while ( getchar() !=
'\n' )
73 if ( !strncmp( (
char *) &termattr.ram[0],
"0000", 4 ) )
75 printf(
"Please wait while graphics interpreter is downloaded.\n" );
79 system(
"cat /usr/local/src/g300/g300gci110.tx" );
84 printf(
"\036\107\063\060\n\036\107\155\061\n\036\107\151\060\n" );
85 printf(
"\036\107\042\061\n" );
100 plD_line_dg(
PLStream *pls,
short x1a,
short y1a,
short x2a,
short y2a )
102 int x1 = x1a, y1 = y1a, x2 = x2a, y2 = y2a;
104 printf(
"LINE %d %d %d %d\n", x1 >> 4, y1 >> 3, x2 >> 4, y2 >> 3 );
114 plD_polyline_dg(
PLStream *pls,
short *xa,
short *ya,
PLINT npts )
118 for ( i = 0; i < npts - 1; i++ )
119 plD_line_dg( pls, xa[i], ya[i], xa[i + 1], ya[i + 1] );
133 while ( getchar() !=
'\n' )
159 printf(
"\036\107\042\060\n" );