GraphicLibrary  0.5.0
tadah_fussy::gl::shape::arc 名前空間

円弧描画用関数 [詳解]

関数

void Stroke (canvas::DrawingArea_IF &draw, pen::GPixelOp &pixelOp, Coord< int > o, int r, double sa, double ea, bool isOut=false)
 円弧描画関数 [詳解]
 
void Fill (canvas::DrawingArea_IF &draw, pen::GPixelOp &pixelOp, Coord< int > o, int r, double sa, double ea, bool isOut=false)
 円弧塗りつぶし関数 [詳解]
 
void Draw (canvas::DrawingArea_IF &draw, pen::GPixelOp &pixelOp, Coord< int > o, int r, double sa, double ea, bool isOut=false, bool filled=false)
 円弧描画/塗りつぶし関数 [詳解]
 
void Stroke (canvas::DrawingArea_IF &draw, pen::GPixelOp &pixelOp, Coord< int > o, int r, Coord< int > c1, Coord< int > c2, bool isOut=false)
 円弧描画関数 [詳解]
 
void Fill (canvas::DrawingArea_IF &draw, pen::GPixelOp &pixelOp, Coord< int > o, int r, Coord< int > c1, Coord< int > c2, bool isOut=false)
 円弧塗りつぶし関数 [詳解]
 
void Draw (canvas::DrawingArea_IF &draw, pen::GPixelOp &pixelOp, Coord< int > o, int r, Coord< int > c1, Coord< int > c2, bool isOut=false, bool filled=false)
 円弧描画/塗りつぶし関数 [詳解]
 

詳解

円弧描画用関数

関数詳解

◆ Draw() [1/2]

void tadah_fussy::gl::shape::arc::Draw ( canvas::DrawingArea_IF draw,
pen::GPixelOp pixelOp,
Coord< int >  o,
int  r,
Coord< int >  c1,
Coord< int >  c2,
bool  isOut = false,
bool  filled = false 
)
inline

円弧描画/塗りつぶし関数

描画する範囲の角度は点 c1, c2 を元に計算され、c1 から c2 まで時計回りで表される。

引数 filled に応じて GArc::Stroke と GArc::Fill を切り替えて呼び出す。

半径 r がゼロ以下の場合は処理をしない ( エラーにはならないことに注意 )。

ピクセル操作領域 draw、ピクセル操作関数オブジェクト pixelOp が未定義の場合は assert を実行する。

引数
drawピクセル操作領域
pixelOpピクセル操作関数オブジェクト
o円弧の中心
r円弧の半径
c1,c2円弧の開始・終了角度を示す点
isOut範囲内を描画するなら false
filled塗りつぶしをするなら true

◆ Draw() [2/2]

void tadah_fussy::gl::shape::arc::Draw ( canvas::DrawingArea_IF draw,
pen::GPixelOp pixelOp,
Coord< int >  o,
int  r,
double  sa,
double  ea,
bool  isOut = false,
bool  filled = false 
)
inline

円弧描画/塗りつぶし関数

描画する範囲の角度は sa から ea まで時計回りで表される。どちらの角度も 0 から 2π の間の値に変換されることに注意。

引数 filled に応じて GArc::Stroke と GArc::Fill を切り替えて呼び出す。

半径 r がゼロ以下の場合は処理をしない ( エラーにはならないことに注意 )。

ピクセル操作領域 draw、ピクセル操作関数オブジェクト pixelOp が未定義の場合は assert を実行する。

引数
drawピクセル操作領域
pixelOpピクセル操作関数オブジェクト
o円弧の中心
r円弧の半径
sa,ea円弧の開始・終了角度
isOut範囲内を描画するなら false
filled塗りつぶしをするなら true

◆ Fill() [1/2]

void tadah_fussy::gl::shape::arc::Fill ( canvas::DrawingArea_IF draw,
pen::GPixelOp pixelOp,
Coord< int >  o,
int  r,
Coord< int >  c1,
Coord< int >  c2,
bool  isOut = false 
)

円弧塗りつぶし関数

描画する範囲の角度は点 c1, c2 を元に計算され、c1 から c2 まで時計回りで表される。

半径 r がゼロ以下の場合は処理をしない ( エラーにはならないことに注意 )。

ピクセル操作領域 draw、ピクセル操作関数オブジェクト pixelOp が未定義の場合は assert を実行する。

引数
drawピクセル操作領域
pixelOpピクセル操作関数オブジェクト
o円弧の中心
r円弧の半径
c1,c2円弧の開始・終了角度を示す点
isOut範囲内を描画するなら false

◆ Fill() [2/2]

void tadah_fussy::gl::shape::arc::Fill ( canvas::DrawingArea_IF draw,
pen::GPixelOp pixelOp,
Coord< int >  o,
int  r,
double  sa,
double  ea,
bool  isOut = false 
)

円弧塗りつぶし関数

描画する範囲の角度は sa から ea まで時計回りで表される。どちらの角度も 0 から 2π の間の値に変換されることに注意。

半径 r がゼロ以下の場合は処理をしない ( エラーにはならないことに注意 )。

ピクセル操作領域 draw、ピクセル操作関数オブジェクト pixelOp が未定義の場合は assert を実行する。

引数
drawピクセル操作領域
pixelOpピクセル操作関数オブジェクト
o円弧の中心
r円弧の半径
sa,ea円弧の開始・終了角度
isOut範囲内を描画するなら false

◆ Stroke() [1/2]

void tadah_fussy::gl::shape::arc::Stroke ( canvas::DrawingArea_IF draw,
pen::GPixelOp pixelOp,
Coord< int >  o,
int  r,
Coord< int >  c1,
Coord< int >  c2,
bool  isOut = false 
)

円弧描画関数

描画する範囲の角度は点 c1, c2 を元に計算され、c1 から c2 まで時計回りで表される。

半径 r がゼロ以下の場合は処理をしない ( エラーにはならないことに注意 )。

ピクセル操作領域 draw、ピクセル操作関数オブジェクト pixelOp が未定義の場合は assert を実行する。

引数
drawピクセル操作領域
pixelOpピクセル操作関数オブジェクト
o円弧の中心
r円弧の半径
c1,c2円弧の開始・終了角度を示す点
isOut範囲内を描画するなら false

◆ Stroke() [2/2]

void tadah_fussy::gl::shape::arc::Stroke ( canvas::DrawingArea_IF draw,
pen::GPixelOp pixelOp,
Coord< int >  o,
int  r,
double  sa,
double  ea,
bool  isOut = false 
)

円弧描画関数

描画する範囲の角度は sa から ea まで時計回りで表される。どちらの角度も 0 から 2π の間の値に変換されることに注意。

半径 r がゼロ以下の場合は処理をしない ( エラーにはならないことに注意 )。

ピクセル操作領域 draw、ピクセル操作関数オブジェクト pixelOp が未定義の場合は assert を実行する。

引数
drawピクセル操作領域
pixelOpピクセル操作関数オブジェクト
o円弧の中心
r円弧の半径
sa,ea円弧の開始・終了角度
isOut範囲内を描画するなら false