Skip to content

query_paintQueryPaintQueryPaintquery_paintT_query_paint🔗

説明🔗

query_paintQueryPaintQueryPaintquery_paintT_query_paint — グレイ値表示モードを参照する。

書式🔗

query_paint( window WindowHandle, out string Mode )void QueryPaint( const HTuple& WindowHandle, HTuple* Mode )static void HOperatorSet.QueryPaint( HTuple windowHandle, out HTuple mode )def query_paint( window_handle: HHandle ) -> Sequence[str]

Herror T_query_paint( const Htuple WindowHandle, Htuple* Mode )

HTuple HWindow::QueryPaint( ) const

HTuple HWindow.QueryPaint( )

説明🔗

query_paintQueryPaint は、出力ウインドウに対して、すべてのグレイ値表 示モードの名前 (例えば ‘gray’, ‘3d_plot’ など) を 返します。これらのモードは set_paintSetPaint によって設定されま す。query_paintQueryPaint は、表示モードの名前だけを返します。いくつ かのモードに対しては必要である追加のパラメーターは返しません。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

パラメーター🔗

WindowHandlewindowHandlewindow_handle (input_control) window → (handle)HTuple (HHandle)HWindow, HTuple (IntPtr)HHandleHtuple (handle)

ウインドウハンドル

Modemodemode (output_control) string-array → (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)

グレイ値表示モード名

結果🔗

ウインドウが有効な場合、query_paintQueryPaint は 2 (H_MSG_TRUE) を返します。 それ以外の場合には例外が発生します。

他のオペレーターとの組み合わせ🔗

組み合わせ

後処理の候補

get_paintGetPaint, set_paintSetPaint, disp_imageDispImage

関連項目

set_paintSetPaint, get_paintGetPaint, disp_imageDispImage

モジュール🔗

Foundation