Name
disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion — Ausgeben von Regionen in ein Fenster.
disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion trägt die Regionen aus DispRegionsDispRegionsDispRegionsDispRegionsDispRegionsdispRegions
in das Ausgabefenster ein. Die Parameter für die Ausgabe können
mit den Operatoren set_colorset_colorSetColorset_colorSetColorSetColor, set_grayset_graySetGrayset_graySetGraySetGray,
set_drawset_drawSetDrawset_drawSetDrawSetDraw, set_line_widthset_line_widthSetLineWidthset_line_widthSetLineWidthSetLineWidth, etc. bestimmt
werden.
Die Farbe(n) für die Darstellung der Regionen wird mit
set_colorset_colorSetColorset_colorSetColorSetColor, set_rgbset_rgbSetRgbset_rgbSetRgbSetRgb, set_grayset_graySetGrayset_graySetGraySetGray
oder set_coloredset_coloredSetColoredset_coloredSetColoredSetColored festgelegt. Wird mehr als eine Region
ausgegeben und ist mehr als eine Farbe gesetzt (siehe
set_colorset_colorSetColorset_colorSetColorSetColor, set_coloredset_coloredSetColoredset_coloredSetColoredSetColored), dann werden die
Regionen zyklisch mit den angegebenen Farben ausgegeben.
Die Form der Region kann für die Ausgabe mit set_paintset_paintSetPaintset_paintSetPaintSetPaint
verändert werden (z.B. umschließender Kreis, konvex Hülle, etc.).
Mit set_drawset_drawSetDrawset_drawSetDrawSetDraw wird festgelegt, ob die Region ausgefüllt oder
nur der Rand gezeichnet werden soll. Falls nur der Rand gezeichnet wird,
kann mit set_line_widthset_line_widthSetLineWidthset_line_widthSetLineWidthSetLineWidth dessen Dicke in Pixeln und mit
set_line_styleset_line_styleSetLineStyleset_line_styleSetLineStyleSetLineStyle das Darstellungsmuster angegeben werden.
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
* Output with 12 colors:
set_colored(WindowHandle,12)
disp_region(SomeSegments,WindowHandle)
* Symbolic representation:
set_draw(WindowHandle,'margin')
set_color(WindowHandle,'red')
set_shape(WindowHandle,'ellipse')
disp_region(SomeSegments,WindowHandle)
* Representation of a margin with pattern:
set_draw(WindowHandle,'margin')
set_color(WindowHandle,'blue')
set_line_style(WindowHandle,[12,3])
disp_region(Segments,WindowHandle)
/* Output with 12 colors: */
set_colored(WindowHandle,12) ;
disp_region(SomeSegments,WindowHandle) ;
/* Symbolic representation: */
set_draw(WindowHandle,"margin") ;
set_color(WindowHandle,"red") ;
set_shape(WindowHandle,"ellipse") ;
disp_region(SomeSegments,WindowHandle) ;
/* Representation of a margin with pattern: */
set_draw(WindowHandle,"margin") ;
create_tuple(&Color,2) ;
set_s(Color,"blue",0) ;
set_s(Color,"red",0) ;
create_tuple(&Handle,1) ;
set_i(Handle,WindowHandle,0) ;
T_set_color(Handle,Color) ;
create_tuple(&Par,2) ;
set_i(Par,12,0) ;
set_i(Par,3,1) ;
T_set_line_style(WindowHandle,Par) ;
disp_region(Segments,WindowHandle) ;
* Output with 12 colors:
set_colored(WindowHandle,12)
disp_region(SomeSegments,WindowHandle)
* Symbolic representation:
set_draw(WindowHandle,'margin')
set_color(WindowHandle,'red')
set_shape(WindowHandle,'ellipse')
disp_region(SomeSegments,WindowHandle)
* Representation of a margin with pattern:
set_draw(WindowHandle,'margin')
set_color(WindowHandle,'blue')
set_line_style(WindowHandle,[12,3])
disp_region(Segments,WindowHandle)
* Output with 12 colors:
set_colored(WindowHandle,12)
disp_region(SomeSegments,WindowHandle)
* Symbolic representation:
set_draw(WindowHandle,'margin')
set_color(WindowHandle,'red')
set_shape(WindowHandle,'ellipse')
disp_region(SomeSegments,WindowHandle)
* Representation of a margin with pattern:
set_draw(WindowHandle,'margin')
set_color(WindowHandle,'blue')
set_line_style(WindowHandle,[12,3])
disp_region(Segments,WindowHandle)
* Output with 12 colors:
set_colored(WindowHandle,12)
disp_region(SomeSegments,WindowHandle)
* Symbolic representation:
set_draw(WindowHandle,'margin')
set_color(WindowHandle,'red')
set_shape(WindowHandle,'ellipse')
disp_region(SomeSegments,WindowHandle)
* Representation of a margin with pattern:
set_draw(WindowHandle,'margin')
set_color(WindowHandle,'blue')
set_line_style(WindowHandle,[12,3])
disp_region(Segments,WindowHandle)
* Output with 12 colors:
set_colored(WindowHandle,12)
disp_region(SomeSegments,WindowHandle)
* Symbolic representation:
set_draw(WindowHandle,'margin')
set_color(WindowHandle,'red')
set_shape(WindowHandle,'ellipse')
disp_region(SomeSegments,WindowHandle)
* Representation of a margin with pattern:
set_draw(WindowHandle,'margin')
set_color(WindowHandle,'blue')
set_line_style(WindowHandle,[12,3])
disp_region(Segments,WindowHandle)
disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion liefert den Wert 2 (H_MSG_TRUE).
open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow,
set_rgbset_rgbSetRgbset_rgbSetRgbSetRgb,
set_lutset_lutSetLutset_lutSetLutSetLut,
set_hsiset_hsiSetHsiset_hsiSetHsiSetHsi,
set_shapeset_shapeSetShapeset_shapeSetShapeSetShape,
set_line_styleset_line_styleSetLineStyleset_line_styleSetLineStyleSetLineStyle,
set_insertset_insertSetInsertset_insertSetInsertSetInsert,
set_fixset_fixSetFixset_fixSetFixSetFix,
set_drawset_drawSetDrawset_drawSetDrawSetDraw,
set_colorset_colorSetColorset_colorSetColorSetColor,
set_coloredset_coloredSetColoredset_coloredSetColoredSetColored,
set_line_widthset_line_widthSetLineWidthset_line_widthSetLineWidthSetLineWidth
disp_objdisp_objDispObjdisp_objDispObjDispObj,
disp_arrowdisp_arrowDispArrowdisp_arrowDispArrowDispArrow,
disp_linedisp_lineDispLinedisp_lineDispLineDispLine,
disp_circledisp_circleDispCircledisp_circleDispCircleDispCircle,
disp_rectangle1disp_rectangle1DispRectangle1disp_rectangle1DispRectangle1DispRectangle1,
disp_rectangle2disp_rectangle2DispRectangle2disp_rectangle2DispRectangle2DispRectangle2,
disp_ellipsedisp_ellipseDispEllipsedisp_ellipseDispEllipseDispEllipse
open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow,
open_textwindowopen_textwindowOpenTextwindowopen_textwindowOpenTextwindowOpenTextwindow,
set_colorset_colorSetColorset_colorSetColorSetColor,
set_coloredset_coloredSetColoredset_coloredSetColoredSetColored,
set_drawset_drawSetDrawset_drawSetDrawSetDraw,
set_shapeset_shapeSetShapeset_shapeSetShapeSetShape,
set_paintset_paintSetPaintset_paintSetPaintSetPaint,
set_grayset_graySetGrayset_graySetGraySetGray,
set_rgbset_rgbSetRgbset_rgbSetRgbSetRgb,
set_hsiset_hsiSetHsiset_hsiSetHsiSetHsi,
set_pixelset_pixelSetPixelset_pixelSetPixelSetPixel,
set_line_widthset_line_widthSetLineWidthset_line_widthSetLineWidthSetLineWidth,
set_line_styleset_line_styleSetLineStyleset_line_styleSetLineStyleSetLineStyle,
set_insertset_insertSetInsertset_insertSetInsertSetInsert,
set_fixset_fixSetFixset_fixSetFixSetFix,
paint_regionpaint_regionPaintRegionpaint_regionPaintRegionPaintRegion,
dump_windowdump_windowDumpWindowdump_windowDumpWindowDumpWindow
Foundation