class PureData { float t, x, y; boolean fr; PureData(float X, float Y, float T, boolean FR) { x=X; y=Y; t=T; fr=FR; } void Dessiner() { strokeWeight(1); pushMatrix(); translate(x,y); stroke(0); fill(20,255,20,175); rect (0,0,7*t,7*t); if (fr) { fill(0); } else { fill(20,255,20,175); } ellipse (7*t/2,7*t/2,7*t,7*t); fill (255); rect(0,10.5*t,23*t,15*t); rect(0,10.5*t,4*t,1.75*t); rect (19*t,10.5*t,4*t,1.75*t); fill(0); noStroke(); rect (0,23.75*t,4*t-1,1.75*t); stroke(0); line (2*t, 7*t, 2*t, 10.5*t); PFont font; font = loadFont("Courier-Bold-48.vlw"); textFont(font,13*t); textAlign(LEFT,TOP); text("Pd", 1*t, 13.5*t); popMatrix(); } }