Subversion Repositories wimsdev

Rev

Rev 17586 | Rev 18071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17586 Rev 17669
Line 1658... Line 1658...
1658
            js_function[INTERACTIVE] = 1;
1658
            js_function[INTERACTIVE] = 1;
1659
            break;
1659
            break;
1660
 
1660
 
1661
        case ELLIPSE:
1661
        case ELLIPSE:
1662
        /*
1662
        /*
1663
        @ ellipse xc,yc,radius_x,radius_y,color
1663
        @ ellipse xc,yc,width_x,height_y,color
1664
        @ ellipses with center xc/yc and radius in x/y-range etc (this differs from flydraw syntax!)
1664
        @ ellipses with center xc/yc and width/height in x/y-range etc (this differs from flydraw syntax!)
1665
        @ radius_x and radius_y are in pixels
-
 
1666
        @ may be set <a href="#drag">draggable</a> / <a href="#onclick">onclick</a>
1665
        @ may be set <a href="#drag">draggable</a> / <a href="#onclick">onclick</a>
1667
        @ will shrink / expand on zoom out / zoom in
1666
        @ will shrink / expand on zoom out / zoom in
1668
        @%ellipse%size 400,400%xrange -10,10%yrange -10,10%filled%fillcolor orange%opacity 200,40%linewidth 3%drag xy%ellipse 0,0,6,4,green%zoom blue
1667
        @%ellipse%size 400,400%xrange -10,10%yrange -10,10%filled%fillcolor orange%opacity 200,40%linewidth 3%drag xy%ellipse 0,0,6,4,green%zoom blue
1669
        */
1668
        */
1670
            for(i=0;i<5;i++){
1669
            for(i=0;i<5;i++){
Line 1691... Line 1690...
1691
            }
1690
            }
1692
            break;
1691
            break;
1693
 
1692
 
1694
        case ELLIPSES:
1693
        case ELLIPSES:
1695
        /*
1694
        /*
1696
        @ ellipses color,xc1,yc1,radius_x1,radius_y1,xc2,yc2,radius_x2,radius_y2,xc3,yc3,radius_x3,radius_y3,...
1695
        @ ellipses color,xc1,yc1,width_x1,height_y1,xc2,yc2,width_x2,height_y2,xc3,yc3,width_x3,height_y3,...
1697
        @ ellipses with center and radius in x/y-range etc (this differs from flydraw syntax!)
1696
        @ ellipses with center and height in x/y-range etc (this differs from flydraw syntax!)
1698
        @ may be set <a href="#drag">draggable</a> / <a href="#onclick">onclick</a>
1697
        @ may be set <a href="#drag">draggable</a> / <a href="#onclick">onclick</a>
1699
        @ will shrink / expand on zoom out / zoom in
1698
        @ will shrink / expand on zoom out / zoom in
1700
        @%ellipses%size 400,400%xrange -10,10%yrange -10,10%filled%fillcolor orange%opacity 200,40%linewidth 3%onclick%ellipses red,-3,0,2,4,0,0,4,2,3,0,6,2
1699
        @%ellipses%size 400,400%xrange -10,10%yrange -10,10%filled%fillcolor orange%opacity 200,40%linewidth 3%onclick%ellipses red,-3,0,2,4,0,0,4,2,3,0,6,2
1701
        */
1700
        */
1702
 
1701