Download HDevelop User`s Manual
Transcript
52 Graphical User Interface • dev_set_window_extents With this operator, you can set the size and position of the active HDevelop graphics window. • dev_set_window This operator activates the graphics window containing the given ID. This ID is an output parameter of dev_open_window. After the execution, the output is redirected to this window. This operator is not needed for exported code in C++, because here every window operation uses the ID as a parameter. The operator has no effect for exported code in Visual Basic. • dev_set_color, dev_set_colored dev_set_color has the same effects as the menu item Visualization . Color (see section 2.3.6.13 on page 41). dev_set_colored is equal to the menu item Visualization . Colored (see section 2.3.6.13 on page 41). • dev_set_draw This operator has the same effects as the menu item Visualization . Draw (see section 2.3.6.14 on page 41). • dev_set_line_width For an explanation see the menu item Visualization . Line Width (see section 2.3.6.15 on page 41). • dev_set_lut For an explanation see the menu item Visualization . Lut (see section 2.3.6.17 on page 42). • dev_set_paint For an explanation see the menu item Visualization . Paint (see section 2.3.6.18 on page 42). If you want to specify all possible parameters of a given paint mode, you have to specify them as a tuple, analogously to the HALCON operator set_paint. • dev_set_shape For an explanation see the menu item Visualization . Shape (see section 2.3.6.16 on page 42). • dev_set_part This operator adjusts the coordinate system for image, region, XLD and other graphic output. This is done by specifying the upper left and the lower right corner coordinates. This specified part is shown in the entire graphics window. If the width or height of the specified rectangle has a negative value (e.g., Row1 > Row2) the result is equivalent to the menu Visualization . Zooming . Reset (see section 2.3.6.11 on page 41): the zoom mode is switched off, i.e., the most recently displayed image fills the whole graphics window. This feature of dev_set_part is not supported for exported C++ and Visual Basic code. • dev_display Iconic variables are displayed in the active graphics window by this operator. It is reasonable to do this when the automatic output is suppressed (see dev_update_window and File . Options (see section 2.3.3.11 on page 20)). • dev_clear_obj This operator deletes the iconic object stored in the HDevelop variable that is passed as the input parameter. In the variable window, the object is displayed as undefined (with a ? as its icon). • dev_inspect_ctrl