Query of the icon for region output
get_icon queries the icon that was set with set_icon.
Icon (output_object) |
region -> object |
icon for the regions center of gravity. |
/* draw a region and an icon. */ /* set it and get it again. */ draw_region(&Region) ; draw_region(&Icon) ; set_icon(Icon) ; set_shape("icon") ; disp_region(Region) ; get_icon(&OldIcon) ; disp_region(OldIcon) ;
get_icon returns always TRUE.