//#include //#include //#include //#include #include "pssub.h" void main() { init(); viewport(0.2,0.2,0.8,0.8); xyworld(0.0,0.0,1.0,1.0); linety(2); rect(0.0, 0.0, 1.0, 1.0);stroke(); newpath(); plotrot(0.0,0.0,30.0,3);plotrot(1.0,0.0,30.0,2);stroke(); newpath(); plotrot(0.4,0.0,30.0,3);plotrot(0.4,0.1,30.0,2);stroke(); newpath(); plotrot(0.8,0.0,30.0,3);plotrot(0.8,0.1,30.0,2);stroke(); linety(1); arc(0.0,0.0,0.1,0.0,30.0);stroke(); linety(1); newpath(); plotrot(0.4,0.1,30.0,3);plotrot(0.8,0.1,30.0,2); plotrot(0.8,0.5,30.0,2);plotrot(0.4,0.5,30.0,2); closepath(); stroke(); textrot(0.35,0.02,30.0,"(0.4,0.1)");textrot(0.82,0.02,30.0,"(0.8,0.1)"); textrot(0.35,0.54,30.0,"(0.4,0.8)");textrot(0.82,0.54,30.0,"(0.8,0.5)");stroke(); text(0.12,0.02,"30"); fin(); }