JunkBox_Lib 1.10.1
|
2D & 3D グラフィックライブラリ ヘッダ More...
#include "gdata.h"
Go to the source code of this file.
Macros | |
#define | set_around_space(vp) set_around((vp), 0) |
#define | SetPixel(vp, x, y, cc) set_idat((vp), (x), (y), 0, (cc)) |
#define | GetPixel(vp, x, y) get_idat((vp), (x), (y), 0) |
#define | isCrossLine(x1, y1, x2, y2, x3, y3, x4, y4) (((x1)-(x2))*((y3)-(y1))+((y1)-(y2))*((x1)-(x3)))*(((x1)-(x2))*((y4)-(y1))+((y1)-(y2))*((x1)-(x4))) |
Functions | |
void | local2world (WSGraph gd, WSGraph vp, vector ox, vector oz, vector ex, double *csf, double *snf) |
void | topola (vector nv, double *cst, double *snt, double *csf, double *snf) |
void | set_around (WSGraph vp, int cc) |
void | bline (BSGraph vp, int xs, int ys, int xe, int ye, int c) |
void | bline3d (BSGraph vp, int xs, int ys, int zs, int xe, int ye, int ze, int c) |
void | line (WSGraph vp, int xs, int ys, int xe, int ye, int c) |
void | line3d (WSGraph vp, int xs, int ys, int zs, int xe, int ye, int ze, int c) |
void | circle (WSGraph vp, int x, int y, int r, int c, int mode) |
void | paint (WSGraph vp, int x, int y, int mn, int mx, int c, int m) |
void | paint3d (WSGraph vp, int x, int y, int z, int mn, int mx, int c, int m) |
void | _paint_3d (WSGraph vp, int x, int y, int z, int mn, int mx, int c, int m) |
void | box (WSGraph vp, int xs, int ys, int xe, int ye, int c, int m) |
void | triangle (WSGraph vp, int x1, int y1, int x2, int y2, int x3, int y3, int c, int m) |
void | circle3d (WSGraph vp, vector a, vector b, int rr, int cc, int mode) |
void | sphere (WSGraph vp, vector a, int r, int c, int mode) |
void | pool (WSGraph vp, vector a, vector b, int rr, int c) |
void | torus (WSGraph vp, vector a, vector b, int rr, int ra, int c) |
WSGraph | x_reverse_wsg (WSGraph vp) |
WSGraph | cut_object (WSGraph vp, int cc, IRBound *rb, int blank) |
WSGraph | zoom_WSGraph (WSGraph vp, int zm, int mode) |
WSGraph | grab_WSGraph (WSGraph vp, int x1, int y1, int x2, int y2) |
void | copy_WSGraph (WSGraph src, WSGraph dst) |
int | get_wdat (WSGraph, double, double, double, IRBound) |
int | get_idat (WSGraph, int, int, int) |
void | set_wdat (WSGraph, double, double, double, int, IRBound) |
void | set_idat (WSGraph, int, int, int, int) |
int | get_bdat (BSGraph, int, int, int) |
void | set_bdat (BSGraph, int, int, int, int) |
int | isinctri (int x1, int y1, int x2, int y2, int x3, int y3, int xx, int yy) |
Definition in file graph.h.
#define GetPixel | ( | vp, | |
x, | |||
y ) get_idat((vp), (x), (y), 0) |
int GetPixel(WSGraph vp, int x, int y);
2Dグラフィックデータ構造体 vpの任意の 1pixelの値(濃度)を返す.
座標範囲のチェックあり.
vp | 操作対象となる2Dグラフィックデータ構造体. |
x,y | 知りたい値の xy座標. |
使用例
Definition at line 92 of file graph.h.
Referenced by wGetPixel().
#define isCrossLine | ( | x1, | |
y1, | |||
x2, | |||
y2, | |||
x3, | |||
y3, | |||
x4, | |||
y4 ) (((x1)-(x2))*((y3)-(y1))+((y1)-(y2))*((x1)-(x3)))*(((x1)-(x2))*((y4)-(y1))+((y1)-(y2))*((x1)-(x4))) |
int isCrossLine(x1, y1, x2, y2, x3, y3, x4, y4);
(x1,y1)-(x2,y2) の直線と (x3,y3)-(x4,y4) の線分が交差しているか判定する
1以上 | 交差しない |
0 | 3か4 は直線上にある |
0未満 | 交差する |
Definition at line 104 of file graph.h.
Referenced by isinctri().
#define set_around_space | ( | vp | ) | set_around((vp), 0) |
#define SetPixel | ( | vp, | |
x, | |||
y, | |||
cc ) set_idat((vp), (x), (y), 0, (cc)) |
void SetPixel(WSGraph vp, int x, int y, int cc)
2Dグラフィックデータ構造体 vpの任意の 1pixelに値を設定する.
座標範囲のチェックあり.
vp | 操作対象となる2Dグラフィックデータ構造体. |
x,y | 値を設定する xy座標. |
cc | 点(x,y)に設定する点の値(濃度). |
使用例
Definition at line 72 of file graph.h.
Referenced by wSetPixel().
void _paint_3d | ( | WSGraph | vp, |
int | x, | ||
int | y, | ||
int | z, | ||
int | mn, | ||
int | mx, | ||
int | c, | ||
int | m ) |
void _paint_3d(WSGraph vp, int x, int y, int z, int mn, int mx, int c, int m)
paint3d() の補助関数
Definition at line 350 of file graph.c.
References _paint_3d(), DEBUG_MODE, WSGraph::gp, paint(), WSGraph::state, WSGraph::xs, WSGraph::ys, and WSGraph::zs.
Referenced by _paint_3d(), and paint3d().
void bline | ( | BSGraph | vp, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | cc ) |
void bline(BSGraph vp, int x1, int y1, int x2, int y2, int cc)
2Dのラインの描画.
点(x1,y1)から点(x2,y2)へ濃度 ccの線を引く.
vp | 操作対象となるグラフィックデータ構造体. |
x1,y1 | 線の始点の座標. |
x2,y2 | 線の終点の座標. |
cc | 線の濃度. |
Definition at line 404 of file graph.c.
References set_bdat().
void bline3d | ( | BSGraph | gd, |
int | x1, | ||
int | y1, | ||
int | z1, | ||
int | x2, | ||
int | y2, | ||
int | z2, | ||
int | cc ) |
void bline3d(BSGraph gd, int x1, int y1, int z1, int x2, int y2, int z2, int cc)
3Dのラインの描画.点(x1,y1,z1)から点(x2,y2,z2)へ濃度 ccの線を引く.
gd | 操作対象となるグラフィックデータ構造体. |
x1,y1,z1 | 線の始点の座標. |
x2,y2,z2 | 線の終点の座標. |
cc | 線の濃度. |
Definition at line 613 of file graph.c.
References set_bdat().
Referenced by draw_shape_polygon().
void box | ( | WSGraph | vp, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | cc, | ||
int | mode ) |
void box(WSGraph vp, int x1, int y1, int x2, int y2, int cc, int mode)
点(x1,y1)-(x2,y2)を対角とした四角形を描く.線の濃度は cc.
modeが 1以上なら,四角形の内部を塗りつぶす.
vp | 操作対象となるグラフィックデータ構造体. |
(x1,y1)-(x2,y2) | 四角形の対角の座標. |
cc | 線の濃度. |
mode | ON なら四角形の内部の0〜ccをccで塗りつぶす. |
Definition at line 589 of file graph.c.
References line(), ON, and paint().
void circle | ( | WSGraph | gd, |
int | x, | ||
int | y, | ||
int | r, | ||
int | cc, | ||
int | mode ) |
void circle(WSGraph gd, int x, int y, int r, int cc, int mode)
2Dの円の描画.点(x,y)を中心に半径rで濃度 ccの円を書く.
gd | 操作対象となるグラフィックデータ構造体. |
x,y | 円の中心の座標. |
r | 円の半径. |
cc | 線の濃度. |
mode | ON なら円の内部の 0〜ccを ccで塗りつぶす. |
Definition at line 794 of file graph.c.
References WSGraph::gp, ON, paint(), set_idat(), and WSGraph::xs.
Referenced by circle3d(), pool(), and sphere().
void circle3d(WSGraph vp, vector ox, vector ex, int rr, int cc, int mode)
3D的な円の描画.
gd | 操作対象となるグラフィックデータ構造体. |
ox | 円の中心の座標ベクトル. |
ex | 円の中心の法線ベクトル. |
rr | 円の半径. |
cc | 線の濃度. |
mode | ON なら円の内部の 0〜ccを ccで塗りつぶす. |
Definition at line 896 of file graph.c.
References circle(), WSGraph::gp, local2world(), make_WSGraph(), set_vector(), unit_vector(), WSGraph::xs, and WSGraph::ys.
Referenced by torus().
void copy_WSGraph(WSGraph src, WSGraph dst)
WSGraph型データのバッファ部をコピーする.とにかくコピーする.できるだけコピーする.
コピー元とコピー先のバッファ部のサイズが合わない場合,コピー結果は保証されない.
src | コピー元グラフィックデータ |
dst | コピー先グラフィックデータ |
WSGraph cut_object(WSGraph vp, int cc, IRBound* rb, int blank)
グラフィックデータから cc以上の輝度値を持つ部分を抜き出す.
vp | 操作対象となるグラフィックデータ構造体. | |
cc | 抜き出す画像の輝度値.これ以上御輝度値部分を抜き出す. | |
[out] | rb | 指定しない.抜き出された画像の境界情報が入る. |
blank | 余白 |
Definition at line 1150 of file graph.c.
References WSGraph::gp, init_IRBound(), JBXL_GRAPH_MEMORY_ERROR, make_WSGraph(), Max, Min, WSGraph::state, IRBound::xmax, IRBound::xmin, WSGraph::xs, IRBound::ymax, IRBound::ymin, WSGraph::ys, IRBound::zmax, IRBound::zmin, and WSGraph::zs.
int get_bdat | ( | BSGraph | gd, |
int | xx, | ||
int | yy, | ||
int | zz ) |
int get_bdat(BSGraph gd, int xx, int yy, int zz)
グラフィックデータ構造体 vpの任意の 1voxelの値(濃度)を返す.
座標の範囲チェックあり.Z軸の歪補整はなし.
gd | 操作対象となるグラフィックデータ構造体. |
xx,yy,zz | 値を設定する xyz座標. |
Definition at line 75 of file graph.c.
References BSGraph::gp, BSGraph::xs, BSGraph::ys, and BSGraph::zs.
int get_idat | ( | WSGraph | gd, |
int | xx, | ||
int | yy, | ||
int | zz ) |
int get_idat(WSGraph gd, int xx, int yy, int zz)
グラフィックデータ構造体 vpの任意の 1voxelの値(濃度)を返す.
座標の範囲チェックあり.Z軸の歪補整はなし.
gd | 操作対象となるグラフィックデータ構造体. |
xx,yy,zz | 値を設定する xyz座標. |
Definition at line 23 of file graph.c.
References WSGraph::gp, WSGraph::xs, WSGraph::ys, and WSGraph::zs.
int get_wdat(WSGraph gd, double xx, double yy, double zz, IRBound rb)
グラフィックデータ構造体 vpの任意の 1voxelの値(濃度)を返す.
座標の範囲チェックあり.Z軸の歪補整あり(RZxy).
gd | 操作対象となるグラフィックデータ構造体. |
xx,yy,zz | 値を設定する xyz座標. |
rb | 境界の底上げ値.rb.?min を基底値にする. |
Definition at line 46 of file graph.c.
References chk_RZxy(), WSGraph::gp, RZxy, IRBound::xmin, WSGraph::xs, IRBound::ymin, WSGraph::ys, IRBound::zmin, and WSGraph::zs.
WSGraph grab_WSGraph(WSGraph vp, int x1, int y1, int x2, int y2)
WSGraph型データの (x1,y1)-(x2,y2)の矩形部分だけを取り出す.
(x1,y1)-(x2,y2)が元のデータのサイズを越える場合は,元のデータに合わせられる.
vp | 操作対象グラフィックデータ |
(x1,y1),(x2,y2) | 矩形の対角の座標. |
Definition at line 1311 of file graph.c.
int isinctri | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | x3, | ||
int | y3, | ||
int | xx, | ||
int | yy ) |
int isinctri(int x1, int y1, int x2, int y2, int x3, int y3, int xx, int yy)
点(xx, yy) が三角形の中に含まれているか判定する
TRUE | (xx,yy) は三角形 (x1,y1)-(x2,y2)-(x3,y3)の内部にある. |
FALSE | (xx,yy) は三角形 (x1,y1)-(x2,y2)-(x3,y3)の内部にない. |
Definition at line 559 of file graph.c.
References FALSE, isCrossLine, and TRUE.
Referenced by triangle().
void line | ( | WSGraph | vp, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | cc ) |
void line(WSGraph vp, int x1, int y1, int x2, int y2, int cc)
2Dのラインの描画.
点(x1,y1)から点(x2,y2)へ濃度 ccの線を引く.
vp | 操作対象となるグラフィックデータ構造体. |
x1,y1 | 線の始点の座標. |
x2,y2 | 線の終点の座標. |
cc | 線の濃度. |
Definition at line 462 of file graph.c.
References set_idat().
Referenced by box(), bvh_get_seq_data(), count_lines(), get_tList_line_Buffer(), get_tList_seq_data_Buffer(), triangle(), and wLine().
void line3d | ( | WSGraph | gd, |
int | x1, | ||
int | y1, | ||
int | z1, | ||
int | x2, | ||
int | y2, | ||
int | z2, | ||
int | cc ) |
void line3d(WSGraph gd, int x1, int y1, int z1, int x2, int y2, int z2, int cc)
3Dのラインの描画.点(x1,y1,z1)から点(x2,y2,z2)へ濃度 ccの線を引く.
gd | 操作対象となるグラフィックデータ構造体. |
x1,y1,z1 | 線の始点の座標. |
x2,y2,z2 | 線の終点の座標. |
cc | 線の濃度. |
Definition at line 703 of file graph.c.
References set_idat().
void local2world | ( | WSGraph | gd, |
WSGraph | vp, | ||
vector | ox, | ||
vector | oz, | ||
vector | ex, | ||
double * | pcsf, | ||
double * | psnf ) |
void local2world(WSGraph gd, WSGraph vp, vector ox, vector oz, vector ex, double* pcsf, double* psnf)
ロカール座標系のグラフィック vpをグローバル座標系のグラフィック gdに埋めこむ.
gd | グローバル座標系のグラフィックデータ構造体. | |
vp | ローカル座標系のグラフィックデータ構造体. | |
ox | gdvpの原点の座標. | |
oz | gdから見た vpの原点の座標. | |
ex | gdから見た vpの座標の向き. | |
[in,out] | pcsf | 通常は cosφの値が入る. sinθが0に近い場合は計算しないので,連続計算の場合は予め直前の cosφの値を入れて置く. |
[in,out] | psnf | 通常は sinφの値が入る. sinθが0に近い場合は計算しないので,連続計算の場合は予め直前の sinφの値を入れて置く. |
Definition at line 189 of file graph.c.
References WSGraph::gp, IRBound::misc, ON, set_wdat(), topola(), vector::x, IRBound::xmin, WSGraph::xs, vector::y, IRBound::ymin, WSGraph::ys, vector::z, IRBound::zmin, and WSGraph::zs.
Referenced by circle3d(), pool(), and torus().
void paint | ( | WSGraph | vp, |
int | x, | ||
int | y, | ||
int | mn, | ||
int | mx, | ||
int | c, | ||
int | m ) |
void paint(WSGraph vp, int x, int y, int mn, int mx, int c, int m)
2Dグラフィックの塗りつぶし.
2Dグラフィック vpの点(x,y)から始めて, mn〜mx の輝度値を c で塗りつぶす.
vp | グラフィックデータ構造体. |
x | 塗りつぶしを始める点の x座標. |
y | 塗りつぶしを始める点の y座標. |
mn | 塗りつぶされる輝度値の最小値 |
mx | 塗りつぶされる輝度値の最大値. |
c | 塗りつぶしの輝度値. |
m | モード 8: 8近傍の塗りつぶし その他: 4近傍の塗りつぶし |
Definition at line 247 of file graph.c.
References WSGraph::gp, paint(), Xabs, WSGraph::xs, and WSGraph::ys.
Referenced by _paint_3d(), box(), circle(), and paint().
void paint3d | ( | WSGraph | vp, |
int | x, | ||
int | y, | ||
int | z, | ||
int | mn, | ||
int | mx, | ||
int | c, | ||
int | m ) |
void paint3d(WSGraph vp, int x, int y, int z, int mn, int mx, int c, int m)
3Dグラフィックの塗りつぶし.
3Dグラフィック vpの点(x,y,z)から始めて, mn〜mx の輝度値を c で塗りつぶす.
vp | グラフィックデータ構造体. |
x,y,z | 塗りつぶしを始める点の座標. |
mn | 塗りつぶされる輝度値の最小値 |
mx | 塗りつぶされる輝度値の最大値. |
c | 塗りつぶしの輝度値. |
m | モード.マイナスの場合は途中経過を表示. +-8: 8近傍の塗りつぶし その他: 4近傍の塗りつぶし |
注:プログラム中で EGMAX を使用.
Definition at line 334 of file graph.c.
References _paint_3d(), WSGraph::gp, SWORDMAX, WSGraph::xs, WSGraph::ys, and WSGraph::zs.
void pool(WSGraph gd, vector a, vector b, int rr, int cc)
3D的な円柱の描画.中身はccで塗りつぶされる.
gd | 操作対象となるグラフィックデータ構造体. |
a | 円柱の一方の底面の円の中心の座標ベクトル. |
b | 円柱のもう一方の底面の円の中心の座標ベクトル. |
rr | 円柱の半径. |
cc | 線と塗りつぶしの濃度. |
Definition at line 924 of file graph.c.
References circle(), WSGraph::gp, local2world(), make_WSGraph(), vector::n, ON, set_vector(), sub_vector, unit_vector(), WSGraph::xs, WSGraph::ys, and WSGraph::zs.
void set_around | ( | WSGraph | vp, |
int | cc ) |
void set_around(WSGraph vp, int cc)
2Dグラフィックデータの縁の部分の輝度値を ccにする.
vp | 操作対象となるグラフィックデータ構造体. |
cc | データの縁に設定する輝度値. |
Definition at line 1215 of file graph.c.
References WSGraph::gp, WSGraph::xs, and WSGraph::ys.
void set_bdat | ( | BSGraph | gd, |
int | ix, | ||
int | iy, | ||
int | iz, | ||
int | cc ) |
void set_bdat(BSGraph gd, int ix, int iy, int iz, int cc)
グラフィックデータ構造体 gdの任意の 1voxelに値を設定する.
座標の範囲チェックあり.Z軸の歪補整はなし.
gd | 操作対象となるグラフィックデータ構造体. |
ix,iy,iz | 値を設定する xyz座標. |
cc | 点(ix,iy,iz)に設定する点の値(濃度). |
Definition at line 166 of file graph.c.
References BSGraph::gp, BSGraph::xs, BSGraph::ys, and BSGraph::zs.
Referenced by bline(), and bline3d().
void set_idat | ( | WSGraph | gd, |
int | ix, | ||
int | iy, | ||
int | iz, | ||
int | cc ) |
void set_idat(WSGraph gd, int ix, int iy, int iz, int cc)
グラフィックデータ構造体 gdの任意の 1voxelに値を設定する.@ 座標の範囲チェックあり.Z軸の歪補整はなし.
gd | 操作対象となるグラフィックデータ構造体. |
ix,iy,iz | 値を設定する xyz座標. |
cc | 点(ix,iy,iz)に設定する点の値(濃度). |
Definition at line 96 of file graph.c.
References WSGraph::gp, WSGraph::xs, WSGraph::ys, and WSGraph::zs.
Referenced by circle(), line(), and line3d().
void set_wdat(WSGraph gd, double xx, double yy, double zz, int cc, IRBound rb)
グラフィックデータ構造体 gdの任意の 1voxelに値を設定する.
座標の範囲チェックあり.Z軸の歪補整あり(RZxy).
gd | 操作対象となるグラフィックデータ構造体. |
xx,yy,zz | 値を設定する xyz座標. |
cc | 点(xx,yy,zz)に設定する点の値(濃度). |
rb | 境界の底上げ値.rb.?min を基底値にする. rb.miscが OFの場合,(xx,yy,zz)に一番近い点に ccを設定する. rb.miscが ONの場合,(xx,yy,zz)の周りの 格子点全てに ccを設定する. |
Definition at line 117 of file graph.c.
References chk_RZxy(), WSGraph::gp, IRBound::misc, OFF, RZxy, IRBound::xmin, WSGraph::xs, IRBound::ymin, WSGraph::ys, IRBound::zmin, and WSGraph::zs.
Referenced by local2world(), and sphere().
void sphere(WSGraph vp, vector a, int r, int cc, int mode)
球の描画.
vp | 操作対象となるグラフィックデータ構造体. |
a | 球の中心の座標ベクトル. |
r | 球の半径. |
cc | 線と塗りつぶしの濃度(mode=1のとき) |
mode | モード. 1: 円を重ねて球を作る.中身はccで塗りつぶされる. -1: 極座標で球を作る.vpとの境界に壁を作る. それ以外: 極座標で球を作る. |
Definition at line 1008 of file graph.c.
References circle(), WSGraph::gp, IRBound::misc, OFF, ON, PI, RZxy, set_wdat(), vector::x, IRBound::xmin, WSGraph::xs, vector::y, IRBound::ymin, WSGraph::ys, vector::z, IRBound::zmin, and WSGraph::zs.
void topola | ( | vector | nv, |
double * | cst, | ||
double * | snt, | ||
double * | csf, | ||
double * | snf ) |
void topola(vector nv, double* cst, double* snt, double* csf, double* snf)
ベクトル nvの単位ベクトルを極座標 (1,θ,φ) へ変換する. ただし,θφは sin, cosの値として返される.
nv | 方向ベクトル. | |
[out] | cst | 指定しない.cosθの値が入る. |
[out] | snt | 指定しない.sinθの値が入る. |
[in,out] | csf | 通常は cosφの値が入る. sinθが0に近い場合は計算しないので,連続計算の場合は予め直前の cosφの値を入れて置く. |
[in,out] | snf | 通常は sinφの値が入る. sinθが0に近い場合は計算しないので,連続計算の場合は予め直前の sinφの値を入れて置く. |
Definition at line 1111 of file graph.c.
References EPS, vector::n, Sign, vector::x, vector::y, and vector::z.
Referenced by local2world().
void torus(WSGraph gd, vector ox, vector ex, int rr, int ra, int cc)
3D的なトーラスの描画.中身はccで塗りつぶされる.
gd | 操作対象となるグラフィックデータ構造体. |
ox | トーラスの中心の座標ベクトル. |
ex | トーラスの中心の法線ベクトル. |
rr | トーラスの半径(トーラスの中心から断面の円の中心まで). |
ra | トーラスの断面の円の半径 |
cc | 線と塗りつぶしの濃度. |
Definition at line 962 of file graph.c.
References circle3d(), WSGraph::gp, local2world(), make_WSGraph(), ON, PI, set_vector(), unit_vector(), WSGraph::xs, WSGraph::ys, and WSGraph::zs.
void triangle | ( | WSGraph | vp, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | x3, | ||
int | y3, | ||
int | cc, | ||
int | mode ) |
void triangle(WSGraph vp, int x1, int y1, int x2, int y2, int x3, int y3, int cc, int mode)
2Dの三角形の描画.
点(x1,y1),(x2,y2),(x3,y3)の三点を頂点とした三角形を描く.
線の濃度は cc. modeが 1以上なら,三角形の内部を塗りつぶす.
vp | 操作対象となるグラフィックデータ構造体. |
(x1,y1),(x2,y2),(x3,y3) | 三角形の頂点の座標. |
cc | 線の濃度. |
mode | ON なら三角形の内部の0〜ccをccで塗りつぶす. |
Definition at line 522 of file graph.c.
References isinctri(), line(), Max, Min, ON, and Px.
WSGraph x_reverse_wsg(WSGraph vp)
グラフィックデータの x軸を反転させる.
vp | 操作対象となるグラフィックデータ構造体. |
Definition at line 1075 of file graph.c.
References WSGraph::gp, JBXL_GRAPH_MEMORY_ERROR, make_WSGraph(), WSGraph::state, WSGraph::xs, and WSGraph::ys.
WSGraph zoom_WSGraph(WSGraph vp, int zm, int mode)
グラフィックデータ拡大する.
vp | 変換する Word型単純グラフィックデータ. |
zm | 倍率. |
mode | モード.1: 線形補間拡大,その他: 単純拡大 |
Definition at line 1245 of file graph.c.