![]() ![]() ![]()
|
BREW C++ ライブラリ & GUI フレームワーク & XML ミドルウェア : SophiaFramework 4.1 |

| コンストラクタ/デストラクタ |
|---|
|
SFXRectangle( Void ) SFXRectangle( SFXRectangleConstRef param ) SFXRectangle( SFXGridConstRef origin , SFXSizeConstRef size ) SFXRectangle( SFXGridConstRef origin , SInt16 width , SInt16 height ) SFXRectangle( SInt16 x , SInt16 y , SFXSizeConstRef size ) SFXRectangle( SInt16 x , SInt16 y , SInt16 width , SInt16 height ) SFXRectangle( SFXPixelConstRef start , SFXPixelConstRef end ) SFXRectangle クラスのコンストラクタです。
|
| 型 |
|---|
|
AtomRec
長方形を表す構造体です。
|
| グローバル関数 | |
|---|---|
| SFXRectangle::AtomRec * |
atomic_cast(
SFXRectangle * param
) SFXRectangle を SFXRectangle::AtomRec に変換します。
|
| SFXRectangle::AtomRec const * |
atomic_cast(
SFXRectangle const * param
) SFXRectangle を SFXRectangle::AtomRec に変換します。
|
| AEERect * |
interface_cast(
SFXRectangle * param
) SFXRectangle を AEERect に変換します。
|
| AEERect const * |
interface_cast(
SFXRectangle const * param
) SFXRectangle を AEERect に変換します。
|
| Bool |
operator==(
SFXRectangleConstRef left
, SFXRectangleConstRef right
) == の関係を判定します。
|
| SFXRectangle |
operator-(
SFXRectangleConstRef left
, SFXGridConstRef right
) 左上端の座標を減算し、長方形を移動します。
|
| Bool |
operator!=(
SFXRectangleConstRef left
, SFXRectangleConstRef right
) != の関係を判定します。
|
| SFXRectangle |
operator+(
SFXRectangleConstRef left
, SFXGridConstRef right
) 左上端の座標を加算し、長方形を移動します。
|
[ public, explicit ] SFXRectangle(Void);
[ public ]
SFXRectangle(
SFXRectangleConstRef param // 元となる長方形
);
[ public, explicit ]
SFXRectangle(
SFXGridConstRef origin // 左上端の座標
SFXSizeConstRef size // サイズ
);
[ public, explicit ]
SFXRectangle(
SFXGridConstRef origin // 左上端の座標
SInt16 width // 幅
SInt16 height // 高さ
);
[ public, explicit ]
SFXRectangle(
SInt16 x // 左上端の X 座標
SInt16 y // 左上端の Y 座標
SFXSizeConstRef size // サイズ
);
[ public, explicit ]
SFXRectangle(
SInt16 x // 左上端の X 座標
SInt16 y // 左上端の Y 座標
SInt16 width // 幅
SInt16 height // 高さ
);
[ public, explicit ]
SFXRectangle(
SFXPixelConstRef start // 左上端の座標
SFXPixelConstRef end // 右下端の座標
);
[ public ] SFXRectangleRef AddBottom( SInt16 param // 下辺の Y 座標に加える値 );
SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubBottom | SFXRectangle::MulBottom | SFXRectangle::DivBottom | SFXRectangle::ModBottom | SFXRectangle::NegBottom
[ public ] SFXRectangleRef AddHeight( SInt16 param // 高さに加える値 );
SFXRectangle::AddBottom | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubHeight | SFXRectangle::MulHeight | SFXRectangle::DivHeight | SFXRectangle::ModHeight | SFXRectangle::NegHeight
[ public ] SFXRectangleRef AddLeft( SInt16 param // 左辺の X 座標に加える値 );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubLeft | SFXRectangle::MulLeft | SFXRectangle::DivLeft | SFXRectangle::ModLeft | SFXRectangle::NegLeft
[ public ] SFXRectangleRef AddLeftBottom( SFXGridConstRef param // 左下端の座標に加える値 );
[ public ] SFXRectangleRef AddLeftBottom( SInt16 x // 左下端の X 座標に加える値 SInt16 y // 左下端の Y 座標に加える値 );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubLeftBottom | SFXRectangle::MulLeftBottom | SFXRectangle::DivLeftBottom | SFXRectangle::ModLeftBottom | SFXRectangle::NegLeftBottom
[ public ] SFXRectangleRef AddLeftTop( SFXGridConstRef param // 左上端の座標に加える値 );
[ public ] SFXRectangleRef AddLeftTop( SInt16 x // 左上端の X 座標に加える値 SInt16 y // 左上端の Y 座標に加える値 );
SFXRectangle rect(10, 20, 30, 40); rect.AddLeftTop(10, 10); // 左上端の座標(10, 20)から(10, 10)を加算する // 加算した値に合わせ、幅と高さも変更 TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 20, y = 30, width = 20, height = 30
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubLeftTop | SFXRectangle::MulLeftTop | SFXRectangle::DivLeftTop | SFXRectangle::ModLeftTop | SFXRectangle::NegLeftTop
[ public ] SFXRectangleRef AddOrigin( SFXGridConstRef param // 中心座標(左上端)に加える値 );
[ public ] SFXRectangleRef AddOrigin( SInt16 x // 左上端の X 座標に加える値 SInt16 y // 左上端の Y 座標に加える値 );
SFXRectangle rect(10, 20, 30, 40); rect.AddOrigin(10, 10); // 中心座標(10, 20) から(10, 10)を加算する // 原点の変更に伴い、図形全体が移動( 幅と高さは変わらない ) TRACE("x = %d, y = %d, width = %d, height = %d", rect.GetX(), rect.GetY(), rect.GetWidth(), rect.GetHeight()); // x = 20, y = 30, width = 30, height = 40
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubOrigin | SFXRectangle::MulOrigin | SFXRectangle::DivOrigin | SFXRectangle::ModOrigin | SFXRectangle::NegOrigin
[ public ] SFXRectangleRef AddRight( SInt16 param // 右辺の X 座標に加える値 );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubRight | SFXRectangle::MulRight | SFXRectangle::DivRight | SFXRectangle::ModRight | SFXRectangle::NegRight
[ public ] SFXRectangleRef AddRightBottom( SFXGridConstRef param // 右下端の座標に加える値 );
[ public ] SFXRectangleRef AddRightBottom( SInt16 x // 右下端の X 座標に加える値 SInt16 y // 右下端の Y 座標に加える値 );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubRightBottom | SFXRectangle::MulRightBottom | SFXRectangle::DivRightBottom | SFXRectangle::ModRightBottom | SFXRectangle::NegRightBottom
[ public ] SFXRectangleRef AddRightTop( SFXGridConstRef param // 右上端の座標に加える値 );
[ public ] SFXRectangleRef AddRightTop( SInt16 x // 右上端の X 座標に加える値 SInt16 y // 右上端の Y 座標に加える値 );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubRightTop | SFXRectangle::MulRightTop | SFXRectangle::DivRightTop | SFXRectangle::ModRightTop | SFXRectangle::NegRightTop
[ public ] SFXRectangleRef AddSize( SFXSizeConstRef param // サイズに加える値 );
[ public ] SFXRectangleRef AddSize( SInt16 width // 幅に加える値 SInt16 height // 高さに加える値 );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddTop | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubSize | SFXRectangle::MulSize | SFXRectangle::DivSize | SFXRectangle::ModSize | SFXRectangle::NegSize
[ public ] SFXRectangleRef AddTop( SInt16 param // 上辺の座標 (Y 座標) に加える値 );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddWidth | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubTop | SFXRectangle::MulTop | SFXRectangle::DivTop | SFXRectangle::ModTop | SFXRectangle::NegTop
[ public ] SFXRectangleRef AddWidth( SInt16 param // 幅に加える値 );
SFXRectangle::AddBottom | SFXRectangle::AddHeight | SFXRectangle::AddLeft | SFXRectangle::AddLeftBottom | SFXRectangle::AddLeftTop | SFXRectangle::AddOrigin | SFXRectangle::AddRight | SFXRectangle::AddRightBottom | SFXRectangle::AddRightTop | SFXRectangle::AddSize | SFXRectangle::AddTop | SFXRectangle::AddX | SFXRectangle::AddY | SFXRectangle::SubWidth | SFXRectangle::MulWidth | SFXRectangle::DivWidth | SFXRectangle::ModWidth |