pg.putrtext("Hello World",300,500,45.0);
pg.lineseg(400,500,500,500);
pg.pointsymbol(550,500,112,12.0);
pg.puttext("Hello",100,600,45.0);
pg.rawps("gsave 200.0 600.0 translate 90.0 rotate 0 0 mt ");
pg.addtext(" World");
pg.rawps("grestore\n");
double xx[]={300.0,350.0,400.0,350.0,300.0};
double yy[]={650.0,650.0,600.0,550.0,550.0};