Changeset 34
- Timestamp:
- 05/30/08 08:57:34 (6 months ago)
- Files:
-
- trunk/lily/lily/chrome/content/externals/svg.js (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lily/lily/chrome/content/externals/svg.js
r16 r34 416 416 //pop current matrix off the stack, restore previous 417 417 this.inlet1["popMatrix"]=function() { 418 popMatrix();418 thisPtr.popMatrix(); 419 419 } 420 420 … … 425 425 //replace the current matrix with the identity matrix 426 426 this.inlet1["resetMatrix"]=function() { 427 resetMatrix();427 thisPtr.resetMatrix(); 428 428 } 429 429 … … 657 657 658 658 this.noFill=function() { 659 fillColor = "none";659 thisPtr.fillColor = "none"; 660 660 } 661 661 662 662 //set stroke 663 663 this.inlet1["stroke"]=function(color) { 664 stroke(color);664 thisPtr.stroke(color); 665 665 } 666 666 … … 751 751 var h = params.split(" ")[3]; //length 752 752 753 rect(x,y,w,h);753 thisPtr.rect(x,y,w,h); 754 754 755 755 } … … 802 802 var ry = params.split(" ")[3]; //length 803 803 804 ellipse(cx,cy,rx,ry);804 thisPtr.ellipse(cx,cy,rx,ry); 805 805 806 806 } … … 847 847 var y2 = params.split(" ")[3]; //length 848 848 849 line(x1,y1,x2,y2);849 thisPtr.line(x1,y1,x2,y2); 850 850 851 851 } … … 891 891 var y = params.split(" ")[2]; //top 892 892 893 t ext(str,x,y);893 thisPtr.text(str,x,y); 894 894 895 895 }
