Subversion Repositories wimsdev

Rev

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

Rev 18218 Rev 18571
Line 2... Line 2...
2
## TODO :
2
## TODO :
3
- sort out the global/local variable mess...and reorganize headerfile
3
- sort out the global/local variable mess...and reorganize headerfile
4
	 : zooming and grid: scaling needs to be more adaptive! (use constant amount of grid lines)
4
	 : zooming and grid: scaling needs to be more adaptive! (use constant amount of grid lines)
5
## 2024
5
## 2024
6
* 23/5/2024: add 'exp' to "to_js_math()"
6
* 23/5/2024: add 'exp' to "to_js_math()"
7
* 1/5/2024:  command "dashtype" was gone fishing...there must be a much better way of dealing with prefix "dash"... 
7
* 1/5/2024:  command "dashtype" was gone fishing...there must be a much better way of dealing with prefix "dash"...
8
* 31/4/2024: work in progress: rewrite reset,noreset !
8
* 31/4/2024: work in progress: rewrite reset,noreset !
9
* 28/4/2024: prefix "dash" may be used by all 'dashable' objects
9
* 28/4/2024: prefix "dash" may be used by all 'dashable' objects
10
	     which is an overload on 'dashable' syntax !! 
10
	     which is an overload on 'dashable' syntax !!
11
	     use commands "noreset" and "dashed" to 'dash' all following objects...until command 'reset'
11
	     use commands "noreset" and "dashed" to 'dash' all following objects...until command 'reset'
12
	     size 200,200
12
	     size 200,200
13
	     xrange -10,10
13
	     xrange -10,10
14
	     yrange -10,10
14
	     yrange -10,10
15
	     noreset
15
	     noreset
Line 1310... Line 1310...
1310
 
1310
 
1311
```
1311
```
1312
zoom red
1312
zoom red
1313
userdraw dotfill,blue
1313
userdraw dotfill,blue
1314
fcircle 3,-3,160,cyan
1314
fcircle 3,-3,160,cyan
1315
filpattern diamond
1315
fillpattern diamond
1316
fcircle 0,3,160,green
1316
fcircle 0,3,160,green
1317
fillpattern hatch
1317
fillpattern hatch
1318
fcircle -3,-3,160,red
1318
fcircle -3,-3,160,red
1319
fillpattern dot
1319
fillpattern dot
1320
fcircle -6,3,160,blue
1320
fcircle -6,3,160,blue
Line 1396... Line 1396...
1396
      the colors will re-cycle when there are more clicks than colors...
1396
      the colors will re-cycle when there are more clicks than colors...
1397
 
1397
 
1398
* 13/7  'userdraw clickfill,color' may now make use  of command 'multifillcolors color1,color2,color3...color_n'
1398
* 13/7  'userdraw clickfill,color' may now make use  of command 'multifillcolors color1,color2,color3...color_n'
1399
      fill commands may be used together with 'userdraw clickfill,color'
1399
      fill commands may be used together with 'userdraw clickfill,color'
1400
      (it will still ignore the bordercolor...I just can't make this work... grrr )
1400
      (it will still ignore the bordercolor...I just can't make this work... grrr )
1401
      comman 'filltoborder x,y,bordercolor,color' is still the same as fill
1401
      command 'filltoborder x,y,bordercolor,color' is still the same as fill
1402
      command 'fill x,y,color' or 'floodfill c,y,color' may now be used multiple times.
1402
      command 'fill x,y,color' or 'floodfill c,y,color' may now be used multiple times.
1403
 
1403
 
1404
      read_canvas() will return the click-coordinates
1404
      read_canvas() will return the click-coordinates
1405
      areas can be removed (after confirm 'clear ?' ) with command 'clearbutton some_text'
1405
      areas can be removed (after confirm 'clear ?' ) with command 'clearbutton some_text'
1406
* 11/7  now 'userdraw clickfill,color' can fill multiple selected area's
1406
* 11/7  now 'userdraw clickfill,color' can fill multiple selected area's