JunkBox_Lib 1.10.1
|
X-Winow 表示用関数 More...
#include "openX.h"
Go to the source code of this file.
Functions | |
openX | disp_image (WSGraph gd, int lc, int hc, int cflg) |
void | displayClose (openX xid) |
openX | displayOpen (int xs, int ys, int cflg) |
void | set_color (openX xid, double r, double g, double b) |
Definition in file openX.c.
openX disp_image(WSGraph gd, int lc, int hc, int cflg)
グラフィックデータ gdをディスプレイ上に表示する.
gd | 表示するグラフィックデータ. |
lc | コントラスト調整.これより小さい輝度値は表示しない.0より小さい(-1以下の)場合は自動調整する. |
hc | コントラスト調整.これより大きい輝度値は表示しない.0以下の場合は自動調整する. |
cflg | 表示モード MONOC: グレースケール表示.COLOR: カラー表示 (未サポート) |
Definition at line 32 of file openX.c.
References COLOR_DEPTH, openX::color_index, COLOR_NUM, openX::display, displayOpen(), openX::gc, WSGraph::gp, openX::id, Max, Min, MONOC, openX::screen, SINTMAX, openX::window, WSGraph::xs, and WSGraph::ys.
Referenced by disp_img().
void displayClose | ( | openX | xid | ) |
表示したウィンドウを閉じる.
xid | 閉じたいウィンドウの識別子. |
Definition at line 113 of file openX.c.
References openX::color_index, openX::display, openX::gc, openX::id, and openX::window.
Referenced by disp_img().
openX displayOpen | ( | int | xs, |
int | ys, | ||
int | cflg ) |
Definition at line 125 of file openX.c.
References openX::color_index, COLOR_NUM, openX::display, openX::gc, openX::id, MONOC, openX::screen, set_color(), and openX::window.
Referenced by disp_image().
void set_color | ( | openX | xid, |
double | r, | ||
double | g, | ||
double | b ) |
Definition at line 195 of file openX.c.
References openX::color_index, openX::display, openX::gc, Max, and Min.
Referenced by displayOpen().