get_icon ( : Icon : : )

Query of the icon for region output

get_icon queries the icon that was set with set_icon.


Parameters

Icon (output_object)
region -> object
icon for the regions center of gravity.


Example
/* 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) ;  

Result

get_icon returns always TRUE.


Possible Predecessors

set_icon


Possible Successors

disp_region



Copyright © 1996-1997 MVTec Software GmbH