set_drawing_object_xld🔗
Short description🔗
set_drawing_object_xld — Set the contour of an interactive draw XLD.
Signature🔗
set_drawing_object_xld( xld_cont Contour, drawing_object DrawID )
Description🔗
set_drawing_object_xld substitutes the XLD currently contained in the draw
object by the new Contour. The contour must contain at least two
points, so that the interaction as described in create_drawing_object_xld is
possible.
In addition, if the drawing object DrawID is currently attached to a
HALCON window, the window will be redrawn with each call of set_drawing_object_xld.
Execution information🔗
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters🔗
Contour (input_object) xld_cont → object
XLD contour.
DrawID (input_control) drawing_object → (handle)
Handle of the drawing object.
Result🔗
set_drawing_object_xld returns 2 (H_MSG_TRUE) if the DrawID is valid and
Contour is a contour consisting of at least two points.
If necessary, an exception is raised.
Combinations with other operators🔗
Combinations
Possible predecessors
Possible successors
attach_drawing_object_to_window, clear_drawing_object
Alternatives
See also
Module🔗
Foundation