void p3(int X,int Y,float r1,float r2,float x1,float x2,float h1,float h2,float b1,float b2)
{
rectangle(X-x1-x2,Y+2r1+h1,X-x1-x2+x2,Y+2r1+h1+2*b1+b2);
rectangle(X-x1-x2+x2,Y+2r1+h1+2*b1+b2,X-x1-x2,Y+2r1+h1+2*b1+2*b2);
rectangle(X-x1-x2+x2,Y+2r1+h1+2*b1+b2,X-x1-x2+x2+2*x1,Y+2r1+h1+2*b1+2*b2);
rectangle(X-x1-x2+x2+2*x1,Y+2r1+h1+2*b1+2*b2,X-x1-x2+2*x2+2*x1,Y+2r1+h1+2*b1+b2);
rectangle(X-x1-x2+2*x2+2*x1,Y+2r1+h1+2*b1+b2,X-x1-x2+x2+2*x1,Y+2r1+h1);
rectangle(X-x1-x2+x2+2*x1,Y+2r1+h1,X-x1-x2+x2+r2,Y+2r1+h1+b1);
rectangle(X-x1-x2+x2+r2,Y+2r1+h1+b1,X-x1-x2+x2+x1-r2,Y+2r1+h1);
rectangle(X-x1-x2+x2+x1-r2,Y+2r1+h1,X-x1-x2+x2,Y+2r1+h1+b1);
rectangle(X-x1-x2+x2,Y+2r1+h1+b1,X-x1-x2+x2+2*x2,Y+2r1+h1+2*b1+2*b2);
rectangle(X-x1-x2+x2+2*x2,Y+2r1+h1+2*b1+2*b2,X-x1-x2+x2+2*x1,Y+2r1+h1+b1+b2);
rectangle(X-x1-x2+x2+x1+r1,Y+2r1+h1+b1+b2,X-x1-x2+x2+x1-r1,Y+2r1+h1+b1+b2);
rectangle(X-x1-x2+x2+x1-r1,Y+2r1+h1+b1+b2,X-x1-x2+x2,Y+2r1+h1+2*b1+b2);
}
运行说少括号,晕
谁知道这是怎么回事?