Operators |
set_icon — Icon definition for region output.
set_icon(Icon : : WindowHandle : )
set_icon defines an icon for region output (disp_region). It is displayed in the regions center of gravity. The use of this icon is activated with set_shape.
Icon for center of gravity.
Window handle.
/* draw a region and an icon */ draw_region(&Region,WindowHandle) ; draw_region(&Icon,WindowHandle) ; set_icon(Icon) ; set_shape(WindowHandle,"icon") ; disp_region(Region,WindowHandle) ;
set_icon returns 2 (H_MSG_TRUE), if exactly one region is supplied. Otherwise an exception is raised.
gen_circle, gen_ellipse, gen_rectangle1, gen_rectangle2, draw_region
Foundation
Operators |