get_drawT_get_drawGetDrawGetDrawget_draw (Operator)

Name

get_drawT_get_drawGetDrawGetDrawget_draw — Get the current region fill mode.

Signature

get_draw( : : WindowHandle : Mode)

Herror T_get_draw(const Htuple WindowHandle, Htuple* Mode)

void GetDraw(const HTuple& WindowHandle, HTuple* Mode)

HString HWindow::GetDraw() const

static void HOperatorSet.GetDraw(HTuple windowHandle, out HTuple mode)

string HWindow.GetDraw()

def get_draw(window_handle: HHandle) -> str

Description

get_drawget_drawGetDrawGetDrawget_draw returns the region fill mode of the output window. It is used by operators as disp_regiondisp_regionDispRegionDispRegiondisp_region, disp_circledisp_circleDispCircleDispCircledisp_circle, disp_arrowdisp_arrowDispArrowDispArrowdisp_arrow, disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1disp_rectangle1, disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2disp_rectangle2 etc. The region fill mode is set with set_drawset_drawSetDrawSetDrawset_draw.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Window handle.

ModeModeModemodemode (output_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Current region fill mode.

Result

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

Possible Successors

set_drawset_drawSetDrawSetDrawset_draw, disp_regiondisp_regionDispRegionDispRegiondisp_region

See also

set_drawset_drawSetDrawSetDrawset_draw, disp_regiondisp_regionDispRegionDispRegiondisp_region, set_paintset_paintSetPaintSetPaintset_paint

Module

Foundation