11 PLDLLIMPEXP_DRIVER const char* plD_DEVICE_INFO_dg300 =
"dg300:DG300 Terminal:0:dg300:25:dg300\n";
16 void plD_line_dg(
PLStream *,
short,
short,
short,
short );
40 #ifndef ENABLE_DYNDRIVERS
67 printf(
"\n\036\107\051\n" );
68 scanf(
"%s", (
char *) &termattr );
69 while ( getchar() !=
'\n' )
71 if ( !strncmp( (
char *) &termattr.ram[0],
"0000", 4 ) )
73 printf(
"Please wait while graphics interpreter is downloaded.\n" );
77 system(
"cat /usr/local/src/g300/g300gci110.tx" );
82 printf(
"\036\107\063\060\n\036\107\155\061\n\036\107\151\060\n" );
83 printf(
"\036\107\042\061\n" );
98 plD_line_dg(
PLStream *pls,
short x1a,
short y1a,
short x2a,
short y2a )
100 int x1 = x1a, y1 = y1a, x2 = x2a, y2 = y2a;
102 printf(
"LINE %d %d %d %d\n", x1 >> 4, y1 >> 3, x2 >> 4, y2 >> 3 );
112 plD_polyline_dg(
PLStream *pls,
short *xa,
short *ya,
PLINT npts )
116 for ( i = 0; i < npts - 1; i++ )
117 plD_line_dg( pls, xa[i], ya[i], xa[i + 1], ya[i + 1] );
131 while ( getchar() !=
'\n' )
157 printf(
"\036\107\042\060\n" );