#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);rect(0.4,0.2,0.6,0.6);stroke(); newpath();linewidth(1.0);msmi(0.7,0.2,0.7,0.6,0.15); plot(0.7,0.2,3);plot(0.6,0.2,2);plot(0.7,0.6,3);plot(0.6,0.6,2);stroke(); newpath();linewidth(0.5);msmo(0.4,0.65,0.6,0.65,0.07); plot(0.4,0.65,3);plot(0.4,0.6,2);plot(0.6,0.65,3);plot(0.6,0.6,2);stroke(); text(0.625,0.66,"b"); text(0.69,0.385,"h"); fin(); }