Icon definition for region output.
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 (input_object) |
region -> object |
icon for center of gravity. |
/* draw a region and an icon */ draw_region(&Region) ; draw_region(&Icon) ; set_icon(Icon) ; set_shape("icon") ; disp_region(Region) ;
set_icon returns TRUE if exactly one region is passed. Otherwise an exception is raised.
circle, ellipse, rectangle1, rectangle2, draw_region