get_draw ( : : WindowHandle : Mode )

Get the current region fill mode.

get_draw returns the region fill mode of the output window. It is used by operators as disp_region, disp_circle, disp_arrow, disp_rectangle1, disp_rectangle2 etc. The region fill mode is set with set_draw.


Parameters

WindowHandle (input_control)
window -> integer
Window_id.

Mode (output_control)
string -> string
Current region fill mode.


Result

get_draw returns 2 (H_MSG_TRUE), if the window is valid. Otherwise an exception handling is raised.


Parallelization Information

get_draw is reentrant and processed without parallelization.


Possible Successors

set_draw, disp_region


See also

set_draw, disp_region, set_paint


Module

System



Copyright © 1996-2005 MVTec Software GmbH