#include #include #include #include #include "pssuby.h" //--------//--------//--------//--------//--------//--------//--------//-------- void main() { init(); viewport(0.2,0.2,0.8,0.8);xyworld(0.0,0.0,1.0,1.0); newpath();linety(2);plot(0.0,0.0,3);plot(0.0,1.0,2);plot(1.0,1.0,2);plot(1.0,0.0,2);closepath();stroke(); newpath();linety(1);circ(0.3,0.4,0.2);stroke();circ(0.3,0.4,0.1);stroke(); newpath();linety(1);rect(0.6,0.2,0.9,0.3);stroke(); hatch(0.6,0.2,0.9,0.3,0.02); newpath();linety(1);rect(0.6,0.5,0.9,0.6);stroke(); hatch(0.6,0.5,0.9,0.6,0.02); newpath();plot(0.6,0.3,3);plot(0.6,0.5,2);stroke(); newpath();plot(0.9,0.3,3);plot(0.9,0.5,2);stroke(); newpath();linety(9);linewidth(0.55);plot(0.025,0.4,3);plot(0.975,0.4,2);stroke(); newpath();linety(9);linewidth(0.55);plot(0.3,0.125,3);plot(0.3,0.675,2);stroke(); fin(); }