前のページ次のページ上に戻るホーム BREW C++ ライブラリ & GUI フレームワーク & XML ミドルウェア : SophiaFramework UNIVERSE 5.0
SFXPolyline
折れ線を表すクラスです。
#include <SFXPolyline.h.hpp>
class SFXPolyline;
SFMTYPEDEFCLASS(SFXPolyline)

解説

SFXPolyline クラスは、頂点の座標を配列として処理します。

SFXPolyline クラスは、内部でヒープの割り当てを行いません。 頂点の座標を保持する配列を作成する必要があります。

SFXPolyline クラスにスコープがある間は、作成した配列が破壊しないようにする必要があります。

メンバ

コンストラクタ/デストラクタ
SFXPolyline( Void )
SFXPolyline( SFXPolylineConstRef param )
SFXPolyline( SFXPixelPtr vertex , SInt16 length )
SFXPolyline( SFXPolygonConstRef polygon )
SFXPolyline クラスのコンストラクタです。
パブリック関数
SFXPolylineRef AddVertex( SInt16 index , SFXPixelConstRef value )
AddVertex( SInt16 index , SInt16 x , SInt16 y )
頂点の座標を加算します。
SFXPolylineRef AddVertexX( SInt16 index , SInt16 value )
頂点の X 座標を加算します。
SFXPolylineRef AddVertexY( SInt16 index , SInt16 value )
頂点の Y 座標を加算します。
SFXPolylineRef DivVertex( SInt16 index , SInt16 x , SInt16 y )
DivVertex( SInt16 index , SInt16 value )
頂点の座標を除算します。
SFXPolylineRef DivVertexX( SInt16 index , SInt16 value )
頂点の X 座標を除算します。
SFXPolylineRef DivVertexY( SInt16 index , SInt16 value )
頂点の Y 座標を除算します。
Bool Equals( SFXPolylineConstRef param )
Equals( SFXPixelConstPtr vertex , SInt16 length )
指定した折れ線と等しいか判定します。
SInt16 GetLength( Void )
頂点の数を取得します。
SFXPixelPtr GetVertex( Void )
頂点の座標を取得します。
SFXPixelConstRef GetVertex( SInt16 index )
頂点の座標を取得します。
SInt16 GetVertexX( SInt16 index )
頂点の X 座標を取得します。
SInt16 GetVertexY( SInt16 index )
頂点の Y 座標を取得します。
SFXPolylineRef ModVertex( SInt16 index , SInt16 x , SInt16 y )
ModVertex( SInt16 index , SInt16 value )
頂点の座標を剰余します。
SFXPolylineRef ModVertexX( SInt16 index , SInt16 value )
頂点の X 座標を剰余します。
SFXPolylineRef ModVertexY( SInt16 index , SInt16 value )
頂点の Y 座標を剰余します。
SFXPolylineRef MulVertex( SInt16 index , SInt16 x , SInt16 y )
MulVertex( SInt16 index , SInt16 value )
頂点の座標を乗算します。
SFXPolylineRef MulVertexX( SInt16 index , SInt16 value )
頂点の X 座標を乗算します。
SFXPolylineRef MulVertexY( SInt16 index , SInt16 value )
頂点の Y 座標を乗算します。
SFXPolylineRef NegVertex( SInt16 index )
頂点の座標の符号を反転します。
SFXPolylineRef NegVertexX( SInt16 index )
頂点の X 座標の符号を反転します。
SFXPolylineRef NegVertexY( SInt16 index )
頂点の Y 座標の符号を反転します。
SFXPolylineRef Offset( SFXGridConstRef param )
Offset( SInt16 x , SInt16 y )
全ての頂点の座標を加算し、折れ線を移動します。
SFXPolylineRef Set( SFXPolylineConstRef param )
Set( SFXPolygonConstRef polygon )
Set( SFXPixelPtr vertex , SInt16 length )
折れ線を設定します。
SFXPolylineRef SetLength( SInt16 param )
頂点の数を設定します。
SFXPolylineRef SetVertex( SFXPixelPtr param )
SetVertex( SInt16 index , SInt16 x , SInt16 y )
SetVertex( SInt16 index , SFXPixelConstRef value )
頂点の座標を設定します。
SFXPolylineRef SetVertexX( SInt16 index , SInt16 value )
頂点の X 座標を設定します。
SFXPolylineRef SetVertexY( SInt16 index , SInt16 value )
頂点の Y 座標を設定します。
SFXPolylineRef SubVertex( SInt16 index , SFXPixelConstRef value )
SubVertex( SInt16 index , SInt16 x , SInt16 y )
頂点の座標を減算します。
SFXPolylineRef SubVertexX( SInt16 index , SInt16 value )
頂点の X 座標を減算します。
SFXPolylineRef SubVertexY( SInt16 index , SInt16 value )
頂点の Y 座標を減算します。
SFXPolylineRef Unoffset( SFXGridConstRef param )
Unoffset( SInt16 x , SInt16 y )
全ての頂点の座標を減算し、折れ線を移動します。
static
SFXPolylineConstRef
ZeroInstance( Void )
0 を表すインスタンスを取得します。
SFXPolylineRef operator+=( SFXGridConstRef param )
全ての頂点の座標を加算し、折れ線を移動します。
SFXPolylineRef operator-=( SFXGridConstRef param )
全ての頂点の座標を減算し、折れ線を移動します。
SFXPolylineRef operator=( SFXPolylineConstRef param )
折れ線を代入します。
SFXPixelRef operator[]( SInt16 index )
指定した頂点の座標を取得します。
SFXPolyline::AtomRec * atomic_cast( SFXPolyline * param )
SFXPolyline を SFXPolyline::AtomRec に変換します。
SFXPolyline::AtomRec const * atomic_cast( SFXPolyline const * param )
SFXPolyline を SFXPolyline::AtomRec に変換します。
AEEPolyline * interface_cast( SFXPolyline * param )
SFXPolyline を AEEPolyline に変換します。
AEEPolyline const * interface_cast( SFXPolyline const * param )
SFXPolyline を AEEPolyline に変換します。
Bool operator==( SFXPolylineConstRef left , SFXPolylineConstRef right )
== の関係を判定します。
SFXPolyline operator-( SFXPolylineConstRef left , SFXGridConstRef right )
全ての頂点の座標を減算し、折れ線を移動します。
Bool operator!=( SFXPolylineConstRef left , SFXPolylineConstRef right )
!= の関係を判定します。
SFXPolyline operator+( SFXPolylineConstRef left , SFXGridConstRef right )
全ての頂点の座標を加算し、折れ線を移動します。
AtomRec
折れ線を表す構造体です。
グローバル関数
SFXPolyline::AtomRec * atomic_cast( SFXPolyline * param )
SFXPolyline を SFXPolyline::AtomRec に変換します。
SFXPolyline::AtomRec const * atomic_cast( SFXPolyline const * param )
SFXPolyline を SFXPolyline::AtomRec に変換します。
AEEPolyline * interface_cast( SFXPolyline * param )
SFXPolyline を AEEPolyline に変換します。
AEEPolyline const * interface_cast( SFXPolyline const * param )
SFXPolyline を AEEPolyline に変換します。
Bool operator==( SFXPolylineConstRef left , SFXPolylineConstRef right )
== の関係を判定します。
SFXPolyline operator-( SFXPolylineConstRef left , SFXGridConstRef right )
全ての頂点の座標を減算し、折れ線を移動します。
Bool operator!=( SFXPolylineConstRef left , SFXPolylineConstRef right )
!= の関係を判定します。
SFXPolyline operator+( SFXPolylineConstRef left , SFXGridConstRef right )
全ての頂点の座標を加算し、折れ線を移動します。

SFXPolyline::SFXPolyline
SFXPolyline クラスのコンストラクタです。
[ public, explicit ]
SFXPolyline(Void);
[ public ]
SFXPolyline(
    SFXPolylineConstRef param   // 元になる折れ線
);
[ public, explicit ]
SFXPolyline(
    SFXPixelPtr vertex   // 頂点の座標の列
    SInt16 length        // 頂点の数
);
[ public, explicit ]
SFXPolyline(
    SFXPolygonConstRef polygon   // 元になる多角形
);

SFXPolyline::AddVertex
頂点の座標を加算します。
[ public ]
SFXPolylineRef AddVertex(
    SInt16 index             // 加算対象の頂点のインデックス
    SFXPixelConstRef value   // 頂点の座標に加える値
);
[ public ]
SFXPolylineRef AddVertex(
    SInt16 index   // 加算対象の頂点のインデックス
    SInt16 x       // 頂点の X 座標に加える値
    SInt16 y       // 頂点の Y 座標に加える値
);

参照

SFXPolyline::AddVertexX | SFXPolyline::AddVertexY | SFXPolyline::SubVertex | SFXPolyline::MulVertex | SFXPolyline::DivVertex | SFXPolyline::ModVertex | SFXPolyline::NegVertex


SFXPolyline::AddVertexX
頂点の X 座標を加算します。
[ public ]
SFXPolylineRef AddVertexX(
    SInt16 index   // 加算対象の頂点のインデックス
    SInt16 value   // 頂点の X 座標に加える値
);

参照

SFXPolyline::AddVertex | SFXPolyline::AddVertexY | SFXPolyline::SubVertexX | SFXPolyline::MulVertexX | SFXPolyline::DivVertexX | SFXPolyline::ModVertexX | SFXPolyline::NegVertexX


SFXPolyline::AddVertexY
頂点の Y 座標を加算します。
[ public ]
SFXPolylineRef AddVertexY(
    SInt16 index   // 加算対象の頂点のインデックス
    SInt16 value   // 頂点の Y 座標に加える値
);

参照

SFXPolyline::AddVertex | SFXPolyline::AddVertexX | SFXPolyline::SubVertexY | SFXPolyline::MulVertexY | SFXPolyline::DivVertexY | SFXPolyline::ModVertexY | SFXPolyline::NegVertexY


SFXPolyline::DivVertex
頂点の座標を除算します。
[ public ]
SFXPolylineRef DivVertex(
    SInt16 index   // 除算対象の頂点のインデックス
    SInt16 x       // 頂点の X 座標を除算する値
    SInt16 y       // 頂点の Y 座標を除算する値
);
[ public ]
SFXPolylineRef DivVertex(
    SInt16 index   // 除算対象の頂点のインデックス
    SInt16 value   // 頂点の座標を除算する値
);

解説

value、x、y の値が 0 の場合の動作は未定義です。

参照

SFXPolyline::AddVertex | SFXPolyline::SubVertex | SFXPolyline::MulVertex | SFXPolyline::DivVertexX | SFXPolyline::DivVertexY | SFXPolyline::ModVertex | SFXPolyline::NegVertex


SFXPolyline::DivVertexX
頂点の X 座標を除算します。
[ public ]
SFXPolylineRef DivVertexX(
    SInt16 index   // 除算対象の頂点のインデックス
    SInt16 value   // 頂点の X 座標を除算する値
);

解説

value の値が 0 の場合の動作は未定義です。

参照

SFXPolyline::AddVertexX | SFXPolyline::SubVertexX | SFXPolyline::MulVertexX | SFXPolyline::DivVertex | SFXPolyline::DivVertexY | SFXPolyline::ModVertexX | SFXPolyline::NegVertexX


SFXPolyline::DivVertexY
頂点の Y 座標を除算します。
[ public ]
SFXPolylineRef DivVertexY(
    SInt16 index   // 除算対象の頂点のインデックス
    SInt16 value   // 頂点の Y 座標を除算する値
);

解説

value の値が 0 の場合の動作は未定義です。

参照

SFXPolyline::AddVertexY | SFXPolyline::SubVertexY | SFXPolyline::MulVertexY | SFXPolyline::DivVertex | SFXPolyline::DivVertexX | SFXPolyline::ModVertexY | SFXPolyline::NegVertexY


SFXPolyline::Equals
指定した折れ線と等しいか判定します。
[ public, const ]
Bool Equals(
    SFXPolylineConstRef param   // 比較対象の折れ線
);
[ public, const ]
Bool Equals(
    SFXPixelConstPtr vertex   // 頂点の座標の列
    SInt16 length             // 頂点の数
);

戻り値

  • 等しいとき: true
  • 異なるとき : false

参照

operator== | operator!=


SFXPolyline::GetLength
頂点の数を取得します。
[ public, const ]
SInt16 GetLength(Void);

参照

SFXPolyline::SetLength


SFXPolyline::GetVertex
頂点の座標を取得します。
[ public, const ]
SFXPixelPtr GetVertex(Void);
[ public, const ]
SFXPixelConstRef GetVertex(
    SInt16 index   // 取得対象の頂点のインデックス
);

参照

SFXPolyline::GetVertexX | SFXPolyline::GetVertexY | SFXPolyline::SetVertex


SFXPolyline::GetVertexX
頂点の X 座標を取得します。
[ public, const ]
SInt16 GetVertexX(
    SInt16 index   // 取得対象の頂点のインデックス
);

参照

SFXPolyline::GetVertex | SFXPolyline::GetVertexY | SFXPolyline::SetVertexX


SFXPolyline::GetVertexY
頂点の Y 座標を取得します。
[ public, const ]
SInt16 GetVertexY(
    SInt16 index   // 取得対象の頂点のインデックス
);

参照

SFXPolyline::GetVertex | SFXPolyline::GetVertexX | SFXPolyline::SetVertexY


SFXPolyline::ModVertex
頂点の座標を剰余します。
[ public ]
SFXPolylineRef ModVertex(
    SInt16 index   // 剰余を求める対象の頂点のインデックス
    SInt16 x       // 頂点の X 座標を除算する値
    SInt16 y       // 頂点の Y 座標を除算する値
);
[ public ]
SFXPolylineRef ModVertex(
    SInt16 index   // 剰余を求める対象の頂点のインデックス
    SInt16 value   // 頂点の座標を除算する値
);

解説

value、x、y の値が 0 の場合の動作は未定義です。

参照

SFXPolyline::AddVertex | SFXPolyline::SubVertex | SFXPolyline::MulVertex | SFXPolyline::DivVertex | SFXPolyline::ModVertexX | SFXPolyline::ModVertexY | SFXPolyline::NegVertex


SFXPolyline::ModVertexX
頂点の X 座標を剰余します。
[ public ]
SFXPolylineRef ModVertexX(
    SInt16 index   // 剰余を求める対象の頂点のインデックス
    SInt16 value   // 頂点の座標を除算する値
);

解説

value の値が 0 の場合の動作は未定義です。

参照

SFXPolyline::AddVertexX | SFXPolyline::SubVertexX | SFXPolyline::MulVertexX | SFXPolyline::DivVertexX | SFXPolyline::ModVertex | SFXPolyline::ModVertexY | SFXPolyline::NegVertexX


SFXPolyline::ModVertexY
頂点の Y 座標を剰余します。
[ public ]
SFXPolylineRef ModVertexY(
    SInt16 index   // 剰余を求める対象の頂点のインデックス
    SInt16 value   // 頂点の座標を除算する値
);

解説

value の値が 0 の場合の動作は未定義です。

参照

SFXPolyline::AddVertexY | SFXPolyline::SubVertexY | SFXPolyline::MulVertexY | SFXPolyline::DivVertexY | SFXPolyline::ModVertex | SFXPolyline::ModVertexX | SFXPolyline::NegVertexY


SFXPolyline::MulVertex
頂点の座標を乗算します。
[ public ]
SFXPolylineRef MulVertex(
    SInt16 index   // 乗算対象の頂点のインデックス
    SInt16 x       // 頂点の X 座標に乗算する値
    SInt16 y       // 頂点の Y 座標に乗算する値
);
[ public ]
SFXPolylineRef MulVertex(
    SInt16 index   // 乗算対象の頂点のインデックス
    SInt16 value   // 頂点の座標に乗算する値
);

参照

SFXPolyline::AddVertex | SFXPolyline::SubVertex | SFXPolyline::MulVertexX | SFXPolyline::MulVertexY | SFXPolyline::DivVertex | SFXPolyline::ModVertex | SFXPolyline::NegVertex


SFXPolyline::MulVertexX
頂点の X 座標を乗算します。
[ public ]
SFXPolylineRef MulVertexX(
    SInt16 index   // 乗算対象の頂点のインデックス
    SInt16 value   // 乗算する値
);

参照

SFXPolyline::AddVertexX | SFXPolyline::SubVertexX | SFXPolyline::MulVertex | SFXPolyline::MulVertexY | SFXPolyline::DivVertexX | SFXPolyline::ModVertexX | SFXPolyline::NegVertexX


SFXPolyline::MulVertexY
頂点の Y 座標を乗算します。
[ public ]
SFXPolylineRef MulVertexY(
    SInt16 index   // 乗算対象の頂点のインデックス
    SInt16 value   // 乗算する値
);

参照

SFXPolyline::AddVertexY | SFXPolyline::SubVertexY | SFXPolyline::MulVertex | SFXPolyline::MulVertexX | SFXPolyline::DivVertexY | SFXPolyline::ModVertexY | SFXPolyline::NegVertexY


SFXPolyline::NegVertex
頂点の座標の符号を反転します。
[ public ]
SFXPolylineRef NegVertex(
    SInt16 index   // 対象となる頂点のインデックス
);

参照

SFXPolyline::AddVertex | SFXPolyline::SubVertex | SFXPolyline::MulVertex | SFXPolyline::DivVertex | SFXPolyline::ModVertex | SFXPolyline::NegVertexX | SFXPolyline::NegVertexY


SFXPolyline::NegVertexX
頂点の X 座標の符号を反転します。
[ public ]
SFXPolylineRef NegVertexX(
    SInt16 index   // 対象となる頂点のインデックス
);

参照

SFXPolyline::AddVertexX | SFXPolyline::SubVertexX | SFXPolyline::MulVertexX | SFXPolyline::DivVertexX | SFXPolyline::ModVertexX | SFXPolyline::NegVertex | SFXPolyline::NegVertexY


SFXPolyline::NegVertexY
頂点の Y 座標の符号を反転します。
[ public ]
SFXPolylineRef NegVertexY(
    SInt16 index   // 対象となる頂点のインデックス
);

参照

SFXPolyline::AddVertexY | SFXPolyline::SubVertexY | SFXPolyline::MulVertexY | SFXPolyline::DivVertexY | SFXPolyline::ModVertexY | SFXPolyline::NegVertex | SFXPolyline::NegVertexX


SFXPolyline::Offset
全ての頂点の座標を加算し、折れ線を移動します。
[ public ]
SFXPolylineRef Offset(
    SFXGridConstRef param   // 全ての頂点の座標に加える値
);
[ public ]
SFXPolylineRef Offset(
    SInt16 x   // 全ての頂点の X 座標に加える値
    SInt16 y   // 全ての頂点の Y 座標に加える値
);

参照

SFXPolyline::Unoffset | operator- | operator+


SFXPolyline::Set
折れ線を設定します。
[ public ]
SFXPolylineRef Set(
    SFXPolylineConstRef param   // コピー元の折れ線
);
[ public ]
SFXPolylineRef Set(
    SFXPixelPtr vertex   // 頂点の座標の列
    SInt16 length        // 頂点の数
);
[ public ]
SFXPolylineRef Set(
    SFXPolygonConstRef polygon   // 元になる多角形
);

解説

Set 関数は、ヒープの割り当てを行いません。

参照

SFXPolyline::operator=


SFXPolyline::SetLength
頂点の数を設定します。
[ public ]
SFXPolylineRef SetLength(
    SInt16 param   // 設定する値
);

解説

SetLength 関数は、ヒープの割り当てを行いません。

参照

SFXPolyline::GetLength


SFXPolyline::SetVertex
頂点の座標を設定します。
[ public ]
SFXPolylineRef SetVertex(
    SFXPixelPtr param   // 設定する頂点の座標の列
);
[ public ]
SFXPolylineRef SetVertex(
    SInt16 index             // 設定対象の頂点のインデックス
    SFXPixelConstRef value   // 設定する座標
);
[ public ]
SFXPolylineRef SetVertex(
    SInt16 index   // 設定対象の頂点のインデックス
    SInt16 x       // 設定する X 座標
    SInt16 y       // 設定する Y 座標
);

参照

SFXPolyline::GetVertex | SFXPolyline::SetVertexX | SFXPolyline::SetVertexY


SFXPolyline::SetVertexX
頂点の X 座標を設定します。
[ public ]
SFXPolylineRef SetVertexX(
    SInt16 index   // 設定対象の頂点のインデックス
    SInt16 value   // 設定する値
);

参照

SFXPolyline::GetVertexX | SFXPolyline::SetVertex | SFXPolyline::SetVertexY


SFXPolyline::SetVertexY
頂点の Y 座標を設定します。
[ public ]
SFXPolylineRef SetVertexY(
    SInt16 index   // 設定対象の頂点のインデックス
    SInt16 value   // 設定する値
);

参照

SFXPolyline::GetVertexY | SFXPolyline::SetVertex | SFXPolyline::SetVertexX


SFXPolyline::SubVertex
頂点の座標を減算します。
[ public ]
SFXPolylineRef SubVertex(
    SInt16 index             // 減算対象の頂点のインデックス
    SFXPixelConstRef value   // 頂点の座標から減算する値
);
[ public ]
SFXPolylineRef SubVertex(
    SInt16 index   // 減算対象の頂点のインデックス
    SInt16 x       // 頂点の X 座標から減算する値
    SInt16 y       // 頂点の Y 座標から減算する値
);

参照

SFXPolyline::AddVertex | SFXPolyline::SubVertexX | SFXPolyline::SubVertexY | SFXPolyline::MulVertex | SFXPolyline::DivVertex | SFXPolyline::ModVertex | SFXPolyline::NegVertex


SFXPolyline::SubVertexX
頂点の X 座標を減算します。
[ public ]
SFXPolylineRef SubVertexX(
    SInt16 index   // 減算対象の頂点のインデックス
    SInt16 value   // 頂点の X 座標から減算する値
);

参照

SFXPolyline::AddVertexX | SFXPolyline::SubVertex | SFXPolyline::SubVertexY | SFXPolyline::MulVertexX | SFXPolyline::DivVertexX | SFXPolyline::ModVertexX | SFXPolyline::NegVertexX


SFXPolyline::SubVertexY
頂点の Y 座標を減算します。
[ public ]
SFXPolylineRef SubVertexY(
    SInt16 index   // 減算対象の頂点のインデックス
    SInt16 value   // 頂点の Y 座標から減算する値
);

参照

SFXPolyline::AddVertexY | SFXPolyline::SubVertex | SFXPolyline::SubVertexX | SFXPolyline::MulVertexY | SFXPolyline::DivVertexY | SFXPolyline::ModVertexY | SFXPolyline::NegVertexY


SFXPolyline::Unoffset
全ての頂点の座標を減算し、折れ線を移動します。
[ public ]
SFXPolylineRef Unoffset(
    SFXGridConstRef param   // 全ての頂点の座標から減算する値
);
[ public ]
SFXPolylineRef Unoffset(
    SInt16 x   // 全ての頂点の X 座標から減算する値
    SInt16 y   // 全ての頂点の Y 座標から減算する値
);

参照

SFXPolyline::Offset | operator- | operator+


SFXPolyline::ZeroInstance
0 を表すインスタンスを取得します。
[ public, static ]
SFXPolylineConstRef ZeroInstance(Void);

解説

折れ線を表す変数の値が 0 であるインスタンスを返します。

[Note] 0 を表すインスタンスとは

0 を表すインスタンスとは、対応する AtomRec 構造体のすべてのメンバ変数が 0 または null に設定されたインスタンスのことです。

使用例

SFXPixel vertex[] = {
    SFXPixel(40, 40),
    SFXPixel(40, 60),
    SFXPixel(50, 30),
    SFXPixel(60, 20),
    SFXPixel(30, 30)
};

SFXPolyline polyline;

// 折れ線を設定する
polyline.Set(vertex, lengthof(vertex));

// 頂点の数を取得する
TRACE("Length = %d", polyline.GetLength()); // Length = 5

// polyline を初期化する
polyline = SFXPolyline::ZeroInstance();

// 頂点の数を取得する
TRACE("Length = %d", polyline.GetLength());  // Length = 0

参照

SFXPolyline::AtomRec


atomic_cast
SFXPolyline を SFXPolyline::AtomRec に変換します。
[ public, friend ]
SFXPolyline::AtomRec * atomic_cast(
    SFXPolyline * param   // キャストする折れ線
);
[ public, friend ]
SFXPolyline::AtomRec const * atomic_cast(
    SFXPolyline const * param   // キャストする折れ線
);

参照

SFXPolyline::AtomRec


interface_cast
SFXPolyline を AEEPolyline に変換します。
[ public, friend ]
AEEPolyline * interface_cast(
    SFXPolyline * param   // キャストする多角線
);
[ public, friend ]
AEEPolyline const * interface_cast(
    SFXPolyline const * param   // キャストする多角線
);

SFXPolyline::operator=
折れ線を代入します。
[ public ]
SFXPolylineRef operator=(
    SFXPolylineConstRef param   // コピー元の折れ線
);

参照

SFXPolyline::Set


operator==
== の関係を判定します。
[ public, friend ]
Bool operator==(
    SFXPolylineConstRef left    // 比較する折れ線
    SFXPolylineConstRef right   // 比較する折れ線
);

戻り値

  • 等しいとき : true
  • 異なるとき : false

参照

SFXPolyline::Equals | operator!=


SFXPolyline::operator[]
指定した頂点の座標を取得します。
[ public, const ]
SFXPixelRef operator[](
    SInt16 index   // 取得する頂点の位置
);

参照

SFXPolyline::GetVertex | SFXPolyline::SetVertex


SFXPolyline::operator-=
全ての頂点の座標を減算し、折れ線を移動します。
[ public ]
SFXPolylineRef operator-=(
    SFXGridConstRef param   // 全ての頂点の座標から減算する値
);

参照

SFXPolyline::Unoffset | operator- | SFXPolyline::operator+=


operator-
全ての頂点の座標を減算し、折れ線を移動します。
[ public, friend ]
SFXPolyline operator-(
    SFXPolylineConstRef left   // 移動対象の折れ線
    SFXGridConstRef right      // 全ての頂点の座標から減算する値
);

参照

SFXPolyline::Unoffset | SFXPolyline::operator-= | operator+


operator!=
!= の関係を判定します。
[ public, friend ]
Bool operator!=(
    SFXPolylineConstRef left    // 比較する折れ線
    SFXPolylineConstRef right   // 比較する折れ線
);

戻り値

  • 異なるとき : true
  • 等しいとき : false

参照

SFXPolyline::Equals | operator==


SFXPolyline::operator+=
全ての頂点の座標を加算し、折れ線を移動します。
[ public ]
SFXPolylineRef operator+=(
    SFXGridConstRef param   // 全ての頂点の座標に加算する値
);

参照

SFXPolyline::Offset | SFXPolyline::operator-= | operator+


operator+
全ての頂点の座標を加算し、折れ線を移動します。
[ public, friend ]
SFXPolyline operator+(
    SFXPolylineConstRef left   // 移動対象の折れ線
    SFXGridConstRef right      // 全ての頂点の座標に加算する値
);

参照

SFXPolyline::Offset | operator- | SFXPolyline::operator+=


SFXPolyline::AtomRec
折れ線を表す構造体です。
struct AtomRec {
  SInt16                length;  // 頂点の数
  SFXPixel::AtomRecPtr  vertex;  // 頂点の座標の列
};