from piscript.PiModule import * init(302, 302) translate(1,1) gsave() scalelinewidth(5) newpath() box(300,300) stroke(0,0,1) grestore() center() scale(128) w = 1; h = 1 translate(-0.5*w,-0.5*h) newpath() box(w,h) fill(1,0,1) stroke(0) flush()