Name
set_window_dcset_window_dcSetWindowDcSetWindowDc — Set the device context of a virtual graphics window (Windows NT).
set_window_dcset_window_dcSetWindowDcSetWindowDcSetWindowDc sets the device context of a window previously
opened with new_extern_windownew_extern_windowNewExternWindowNewExternWindowNewExternWindow. All output
(disp_regiondisp_regionDispRegionDispRegionDispRegion, disp_imagedisp_imageDispImageDispImageDispImage, etc.) is done in the
window with this device context.
The parameter WINHDCWINHDCWINHDCWINHDCWINHDC contains the device context of the
window in which HALCON should output its data. This device context
is used in all output routines of HALCON.
The window WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle has to be created with
new_extern_windownew_extern_windowNewExternWindowNewExternWindowNewExternWindow beforehand.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
device context of WINHWnd.
Restriction: WINHDC != 0
If the values of the specified parameters are correct,
set_window_dcset_window_dcSetWindowDcSetWindowDcSetWindowDc returns 2 (H_MSG_TRUE). If necessary, an exception is
raised.
new_extern_windownew_extern_windowNewExternWindowNewExternWindowNewExternWindow
disp_imagedisp_imageDispImageDispImageDispImage,
disp_regiondisp_regionDispRegionDispRegionDispRegion
new_extern_windownew_extern_windowNewExternWindowNewExternWindowNewExternWindow,
disp_regiondisp_regionDispRegionDispRegionDispRegion,
disp_imagedisp_imageDispImageDispImageDispImage,
disp_colordisp_colorDispColorDispColorDispColor,
set_lutset_lutSetLutSetLutSetLut,
query_colorquery_colorQueryColorQueryColorQueryColor,
set_colorset_colorSetColorSetColorSetColor,
set_rgbset_rgbSetRgbSetRgbSetRgb,
set_hsiset_hsiSetHsiSetHsiSetHsi,
set_pixelset_pixelSetPixelSetPixelSetPixel,
set_grayset_graySetGraySetGraySetGray,
set_partset_partSetPartSetPartSetPart,
set_part_styleset_part_styleSetPartStyleSetPartStyleSetPartStyle,
query_window_typequery_window_typeQueryWindowTypeQueryWindowTypeQueryWindowType,
get_window_typeget_window_typeGetWindowTypeGetWindowTypeGetWindowType,
set_window_typeset_window_typeSetWindowTypeSetWindowTypeSetWindowType,
get_mpositionget_mpositionGetMpositionGetMpositionGetMposition,
set_tpositionset_tpositionSetTpositionSetTpositionSetTposition,
set_window_extentsset_window_extentsSetWindowExtentsSetWindowExtentsSetWindowExtents,
get_window_extentsget_window_extentsGetWindowExtentsGetWindowExtentsGetWindowExtents,
set_window_attrset_window_attrSetWindowAttrSetWindowAttrSetWindowAttr,
set_checkset_checkSetCheckSetCheckSetCheck,
set_systemset_systemSetSystemSetSystemSetSystem
Foundation