graphic function ttg_circle()
Draw a circle using a pen 1 pixel wide and the color ttg_pencolor().
Parameters:
Parameter 1: x0 centerParameter 2: y0 center
Parameter 3: radius
***************************** | |
* Tool&Task example program * | |
* ttg_circle() * | |
* last compile: 12.07.2022 * | |
***************************** |
x0 = 50 | |
y0 = 50 | |
ttg_new() | |
ttg_createbmp(100, 100, FORMCOLOR) | |
ttg_pencolor(BLUE) | |
For lr = 25 to 40 step 5 | |
ttg_circle(x0, y0, lr) | |
endfor |