Name
disp_circledisp_circleDispCircleDispCircle — Displays circles in a window.
disp_circledisp_circleDispCircleDispCircleDispCircle displays one or several circles in the
output window. A circle is described by the center (RowRowRowRowrow,
ColumnColumnColumnColumncolumn) and the radius RadiusRadiusRadiusRadiusradius.
If the used coordinates are not within the window the circle is
clipped accordingly.
The operators used to control the display of regions
(e.g. set_drawset_drawSetDrawSetDrawSetDraw, set_grayset_graySetGraySetGraySetGray, set_drawset_drawSetDrawSetDrawSetDraw)
can also be used with circles. Several circles can be displayed with
one call by using tuple parameters. For the use of colors with
several circles, see set_colorset_colorSetColorSetColorSetColor.
The center of the circle must be within the window.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
RowRowRowRowrow (input_control) circle.center.y(-array) → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Row index of the center.
Default value: 64
Suggested values: 0, 64, 128, 256
Typical range of values: 0
≤
Row
Row
Row
Row
row
≤
511 (lin)
Minimum increment: 1
Recommended increment: 1
Column index of the center.
Default value: 64
Suggested values: 0, 64, 128, 256
Typical range of values: 0
≤
Column
Column
Column
Column
column
≤
511 (lin)
Minimum increment: 1
Recommended increment: 1
Radius of the circle.
Default value: 64
Suggested values: 0, 64, 128, 256
Typical range of values: 0
≤
Radius
Radius
Radius
Radius
radius
≤
511 (lin)
Minimum increment: 1
Recommended increment: 1
Restriction: Radius > 0.0
open_window(0,0,-1,-1,'root','visible','',WindowHandle)
set_draw(WindowHandle,'fill')
set_color(WindowHandle,'white')
repeat
get_mbutton(WindowHandle,Row,Column,Button)
disp_circle(WindowHandle,Row,Column,(Row + Column) % 50)
until(Button == 1)
close_window(WindowHandle)
open_window(0,0,-1,-1,"root","visible","",&WindowHandle) ;
set_draw(WindowHandle,"fill") ;
set_color(WindowHandle,"white") ;
get_mbutton(WindowHandle,&Row,&Column,&Button) ;
disp_circle(WindowHandle,Row,Column,(Row + Column) mod 50) ;
open_window(0,0,-1,-1,'root','visible','',WindowHandle)
set_draw(WindowHandle,'fill')
set_color(WindowHandle,'white')
repeat
get_mbutton(WindowHandle,Row,Column,Button)
disp_circle(WindowHandle,Row,Column,(Row + Column) % 50)
until(Button == 1)
close_window(WindowHandle)
open_window(0,0,-1,-1,'root','visible','',WindowHandle)
set_draw(WindowHandle,'fill')
set_color(WindowHandle,'white')
repeat
get_mbutton(WindowHandle,Row,Column,Button)
disp_circle(WindowHandle,Row,Column,(Row + Column) % 50)
until(Button == 1)
close_window(WindowHandle)
open_window(0,0,-1,-1,'root','visible','',WindowHandle)
set_draw(WindowHandle,'fill')
set_color(WindowHandle,'white')
repeat
get_mbutton(WindowHandle,Row,Column,Button)
disp_circle(WindowHandle,Row,Column,(Row + Column) % 50)
until(Button == 1)
close_window(WindowHandle)
disp_circledisp_circleDispCircleDispCircleDispCircle returns 2 (H_MSG_TRUE).
open_windowopen_windowOpenWindowOpenWindowOpenWindow,
set_drawset_drawSetDrawSetDrawSetDraw,
set_colorset_colorSetColorSetColorSetColor,
set_coloredset_coloredSetColoredSetColoredSetColored,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth,
set_rgbset_rgbSetRgbSetRgbSetRgb,
set_hsiset_hsiSetHsiSetHsiSetHsi
disp_ellipsedisp_ellipseDispEllipseDispEllipseDispEllipse,
disp_regiondisp_regionDispRegionDispRegionDispRegion,
gen_circlegen_circleGenCircleGenCircleGenCircle,
gen_ellipsegen_ellipseGenEllipseGenEllipseGenEllipse
open_windowopen_windowOpenWindowOpenWindowOpenWindow,
set_colorset_colorSetColorSetColorSetColor,
set_drawset_drawSetDrawSetDrawSetDraw,
set_rgbset_rgbSetRgbSetRgbSetRgb,
set_hsiset_hsiSetHsiSetHsiSetHsi
Foundation