#include <tscope5.h>
int main()
{
double aw, ah;
double dw, dh;
double dx, dy;
double bw, bh;
ts5_printf(0.0, 60.0,
"display adapter size: %5.2f x %5.2f", aw, ah);
ts5_printf(0.0, 20.0,
"display size: %5.2f x %5.2f", dw, dh);
ts5_printf(0.0, -20.0,
"display position: %5.2f x %5.2f", dx, dy);
ts5_printf(0.0, -60.0,
"bitmap size: %5.2f x %5.2f", bw, bh);
ts5_printf(0.0, -ay(0.5)-40.0,
"please drag the display to a new position");
ts5_printf(0.0, -ay(0.5)-80.0,
"new display position: %5.2f x %5.2f", dx, dy);
return 0;
}