Lines Matching refs:shape
2143 this.addName = function(name, shape) { argument
2145 this.parent.addName( name, shape );
2147 this.nameTable.push( [name, shape] );
2431 var shape;
2434 shape = new PShapeSVG(this, elem);
2439 shape = new PShapeSVG(this, elem);
2442 shape = new PShapeSVG(this, elem);
2443 shape.parseLine();
2446 shape = new PShapeSVG(this, elem);
2447 shape.parseEllipse(true);
2450 shape = new PShapeSVG(this, elem);
2451 shape.parseEllipse(false);
2454 shape = new PShapeSVG(this, elem);
2455 shape.parseRect();
2458 shape = new PShapeSVG(this, elem);
2459 shape.parsePoly(true);
2462 shape = new PShapeSVG(this, elem);
2463 shape.parsePoly(false);
2466 shape = new PShapeSVG(this, elem);
2467 shape.parsePath();
2488 return shape;
3098 p.shape = function(shape, x, y, width, height) { argument
3100 if (shape.isVisible()) {
3105 p.scale(width / shape.getWidth(), height / shape.getHeight());
3107 p.translate(x - shape.getWidth()/2, - shape.getHeight()/2);
3109 p.translate(-shape.getWidth()/2, -shape.getHeight()/2);
3114 p.scale(width / shape.getWidth(), height / shape.getHeight());
3123 p.scale(width / shape.getWidth(), height / shape.getHeight());
3128 shape.draw();