#include <Stroke.h>
AbstractStrokeに対する継承グラフ

Public メソッド | |
| virtual void | clear ()=0 |
| 全ての点の消去. | |
| const POLY * | getPoly () const |
| POLY構造体へのアクセス. | |
| PNT | getPoint (int index) const |
| 点の取得. | |
| int | getSize () const |
| 点の個数の取得. | |
| int | getLowerBound () const |
| Y座標の下限の取得. | |
| int | getUpperBound () const |
| Y座標の上限の取得. | |
| void | addPoint (const PNT &p) |
| 点の追加. | |
| void | moveOffset (int dh, int dv) |
| オフセットによる移動 | |
| bool | hasIntersection (int lb, int ub) const |
| 範囲に含まれるかチェック. | |
Protected メソッド | |
| AbstractStroke () | |
| コンストラクタ | |
Protected 変数 | |
| std::vector< PNT > | poly |
| POLY構造体を格納するためのバッファ. | |
| int | y_lbound |
| Y座標の下限. | |
| int | y_ubound |
| Y座標の上限. | |
| bool | sel |
| 選択状態. | |
Static Protected 変数 | |
| static const int | sz_header = 1 |
| poly[]の先頭部分のヘッダに使われる要素数 | |
|
|
点を追加します。
|
|
|
ストローク中の全ての点を消去します。 DrawingStroke, と SelectionStrokeで実装されています. |
|
|
Y座標の下限を取得します。
|
|
|
ストロークの中の点の座標を取得します。
|
|
|
POLY構造体としてストロークにアクセスするためのポインタを取得します。
|
|
|
ストロークの中の点の個数を取得します。
|
|
|
Y座標の上限を取得します。
|
|
||||||||||||
|
範囲(lb, ub)の中にストロークの部分が含まれているかチェックします。
|
|
||||||||||||
|
ストロークをオフセットによって移動します。
|
1.4.1