Rev 18609 | Rev 18615 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 18609 | Rev 18613 | ||
---|---|---|---|
Line 1051... | Line 1051... | ||
1051 | int NUMBER_OF_COLORNAMES=(sizeof(colors)/sizeof(colors[0])); |
1051 | int NUMBER_OF_COLORNAMES=(sizeof(colors)/sizeof(colors[0])); |
1052 | 1052 | ||
1053 | /*. |
1053 | /*. |
1054 | The filling is done in the connex component whih contains (xs,ys) |
1054 | The filling is done in the connex component whih contains (xs,ys) |
1055 | of the set of points which have the same color as (xs,ys) |
1055 | of the set of points which have the same color as (xs,ys) |
1056 | in the case where border=false and which are in a |
1056 | in the case where border=false and which are in a color different of border |
1057 | if not (that is when border is a color). |
1057 | if not (that is when border is a color). |
1058 | */ |
1058 | */ |
1059 | void add_js_filltoborder(int canvas_type){ |
1059 | void add_js_filltoborder(int canvas_type){ |
1060 | fprintf(js_include_file,"\n/* command filltoborder */\ |
1060 | fprintf(js_include_file,"\n/* command filltoborder */\ |
1061 | function filltoborder(xs,ys,border,color,fill_canvas_no,use_special_filling,fill_ctx){\ |
1061 | function filltoborder(xs,ys,border,color,fill_canvas_no,use_special_filling,fill_ctx){\ |