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

協調図

SFXRectangle クラスの協調図

メンバ

コンストラクタ/デストラクタ
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 クラスのコンストラクタです。
パブリック関数
SFXRectangleRef AddBottom( SInt16 param )
下辺の Y 座標を加算します。
SFXRectangleRef AddHeight( SInt16 param )
高さを加算します。
SFXRectangleRef AddLeft( SInt16 param )
左辺の X 座標を加算します。
SFXRectangleRef AddLeftBottom( SFXGridConstRef param )
AddLeftBottom( SInt16 x , SInt16 y )
左下端の座標を加算します。
SFXRectangleRef AddLeftTop( SFXGridConstRef param )
AddLeftTop( SInt16 x , SInt16 y )
左上端の座標を加算します。
SFXRectangleRef AddOrigin( SFXGridConstRef param )
AddOrigin( SInt16 x , SInt16 y )
開始点(左上端)を加算します。
SFXRectangleRef AddRight( SInt16 param )
右辺の X 座標を加算します。
SFXRectangleRef AddRightBottom( SFXGridConstRef param )
AddRightBottom( SInt16 x , SInt16 y )
右下端の座標を加算します。
SFXRectangleRef AddRightTop( SFXGridConstRef param )
AddRightTop( SInt16 x , SInt16 y )
右上端の座標を加算します。
SFXRectangleRef AddSize( SFXSizeConstRef param )
AddSize( SInt16 width , SInt16 height )
サイズを加算します。
SFXRectangleRef AddTop( SInt16 param )
上辺の Y 座標を加算します。
SFXRectangleRef AddWidth( SInt16 param )
幅を加算します。
SFXRectangleRef AddX( SInt16 param )
左上端の X 座標を加算します。
SFXRectangleRef AddY( SInt16 param )
左上端の Y 座標を加算します。
SFXRectangleRef Deflate( SFXMarginConstRef param )
Deflate( SInt16 horizontal , SInt16 vertical )
Deflate( SInt16 left , SInt16 top , SInt16 right , SInt16 bottom )
Deflate( SInt16 left , SInt16 top , SFXSizeConstRef rb )
Deflate( SFXSizeConstRef lt , SInt16 right , SInt16 bottom )
Deflate( SFXSizeConstRef lt , SFXSizeConstRef rb )
長方形を縮小します。
SFXRectangleRef DivBottom( SInt16 param )
下辺の Y 座標を除算します。
SFXRectangleRef DivHeight( SInt16 param )
高さを除算します。
SFXRectangleRef DivLeft( SInt16 param )
左辺の X 座標を除算します。
SFXRectangleRef DivLeftBottom( SInt16 x , SInt16 y )
DivLeftBottom( SInt16 param )
左下端の座標を除算します。
SFXRectangleRef DivLeftTop( SInt16 x , SInt16 y )
DivLeftTop( SInt16 param )
左上端の座標を除算します。
SFXRectangleRef DivOrigin( SInt16 x , SInt16 y )
DivOrigin( SInt16 param )
開始点(左上端)を除算します。
SFXRectangleRef DivRight( SInt16 param )
右辺の X 座標を除算します。
SFXRectangleRef DivRightBottom( SInt16 x , SInt16 y )
DivRightBottom( SInt16 param )
右下端の座標を除算します。
SFXRectangleRef DivRightTop( SInt16 x , SInt16 y )
DivRightTop( SInt16 param )
右上端の座標を除算します。
SFXRectangleRef DivSize( SInt16 width , SInt16 height )
DivSize( SInt16 param )
サイズを除算します。
SFXRectangleRef DivTop( SInt16 param )
上辺の Y 座標を除算します。
SFXRectangleRef DivWidth( SInt16 param )
幅を除算します。
SFXRectangleRef DivX( SInt16 param )
左上端の X 座標を除算します。
SFXRectangleRef DivY( SInt16 param )
左上端の Y 座標を除算します。
static
SFXRectangleConstRef
EmptyInstance( Void )
空の長方形を取得します。
Bool Equals( SFXRectangleConstRef param )
Equals( SInt16 x , SInt16 y , SInt16 width , SInt16 height )
Equals( SInt16 x , SInt16 y , SFXSizeConstRef size )
Equals( SFXGridConstRef origin , SInt16 width , SInt16 height )
Equals( SFXGridConstRef origin , SFXSizeConstRef size )
指定した長方形と等しいか判定します。
SInt16 GetBottom( Void )
下辺の Y 座標を取得します。
SInt16 GetCenter( Void )
長方形の中央点の X 座標を取得します。
SFXGrid GetCenterBottom( Void )
下辺の中点のグリッド座標を取得します。
SFXGrid GetCenterMiddle( Void )
長方形の中央点のグリッド座標を取得します。
SFXGrid GetCenterTop( Void )
上辺の中点のグリッド座標を取得します。
SFXLine GetEdgeBottom( Void )
下辺の直線を取得します。
SFXLine GetEdgeLeft( Void )
左辺の直線を取得します。
SFXLine GetEdgeRight( Void )
右辺の直線を取得します。
SFXLine GetEdgeTop( Void )
上辺の直線を取得します。
SInt16 GetHeight( Void )
高さを取得します。
SInt16 GetLeft( Void )
左辺の X 座標を取得します。
SFXGrid GetLeftBottom( Void )
左下端のグリッド座標を取得します。
SFXGrid GetLeftMiddle( Void )
左辺の中点のグリッド座標を取得します。
SFXGrid GetLeftTop( Void )
左上端のグリッド座標を取得します。
SInt16 GetMiddle( Void )
長方形の中央点の Y 座標を取得します。
SFXGridConstRef GetOrigin( Void )
開始点(左上端)のグリッド座標を取得します。
SInt16 GetRight( Void )
右辺の X 座標を取得します。
SFXGrid GetRightBottom( Void )
右下端のグリッド座標を取得します。
SFXGrid GetRightMiddle( Void )
右辺の中点のグリッド座標を取得します。
SFXGrid GetRightTop( Void )
右上端のグリッド座標を取得します。
SFXSizeConstRef GetSize( Void )
サイズを取得します。
SInt16 GetTop( Void )
上辺の Y 座標を取得します。
SFXPixel GetVertexLeftBottom( Void )
左下端のピクセル座標を取得します。
SFXPixel GetVertexLeftTop( Void )
左上端のピクセル座標を取得します。
SFXPixel GetVertexRightBottom( Void )
右下端のピクセル座標を取得します。
SFXPixel GetVertexRightTop( Void )
右上端のピクセル座標を取得します。
SInt16 GetWidth( Void )
幅を取得します。
SInt16 GetX( Void )
左上端の X 座標を取得します。
SInt16 GetY( Void )
左上端の Y 座標を取得します。
SFXRectangleRef Inflate( SFXMarginConstRef param )
Inflate( SInt16 horizontal , SInt16 vertical )
Inflate( SInt16 left , SInt16 top , SInt16 right , SInt16 bottom )
Inflate( SInt16 left , SInt16 top , SFXSizeConstRef rb )
Inflate( SFXSizeConstRef lt , SInt16 right , SInt16 bottom )
Inflate( SFXSizeConstRef lt , SFXSizeConstRef rb )
長方形を拡大します。
SFXRectangleRef Intersection( SFXRectangleConstRef param )
指定した長方形との共通部分を取得します。
Bool IntersectsWith( SFXRectangleConstRef param )
指定した長方形と共通部分があるか判定します。
Bool IsEmpty( Void )
長方形が空であるか判定します。
Bool IsInsideOf( SFXRectangleConstRef param )
指定した長方形の内部にあるか判定します。
SFXMargin MarginTo( SFXRectangleConstRef param )
指定した長方形との間に出来るマージンを取得します。
SFXRectangleRef ModBottom( SInt16 param )
下辺の Y 座標を剰余します。
SFXRectangleRef ModHeight( SInt16 param )
高さを剰余します。
SFXRectangleRef ModLeft( SInt16 param )
左辺の X 座標を剰余します。
SFXRectangleRef ModLeftBottom( SInt16 x , SInt16 y )
ModLeftBottom( SInt16 param )
左下端の座標を剰余します。
SFXRectangleRef ModLeftTop( SInt16 x , SInt16 y )
ModLeftTop( SInt16 param )
左上端の座標を剰余します。
SFXRectangleRef ModOrigin( SInt16 x , SInt16 y )
ModOrigin( SInt16 param )
原点(左上端)の座標を剰余します。
SFXRectangleRef ModRight( SInt16 param )
右辺の X 座標を剰余します。
SFXRectangleRef ModRightBottom( SInt16 x , SInt16 y )
ModRightBottom( SInt16 param )
右下端の座標を剰余します。
SFXRectangleRef ModRightTop( SInt16 x , SInt16 y )
ModRightTop( SInt16 param )
右上端の座標を剰余します。
SFXRectangleRef ModSize( SInt16 width , SInt16 height )
ModSize( SInt16 param )
サイズを剰余します。
SFXRectangleRef ModTop( SInt16 param )
上辺の Y 座標を剰余します。
SFXRectangleRef ModWidth( SInt16 param )
幅を剰余します。
SFXRectangleRef ModX( SInt16 param )
左上端の X 座標を剰余します。
SFXRectangleRef ModY( SInt16 param )
左上端の Y 座標を剰余します。
SFXRectangleRef MulBottom( SInt16 param )
下辺の Y 座標を乗算します。
SFXRectangleRef MulHeight( SInt16 param )
高さを乗算します。
SFXRectangleRef MulLeft( SInt16 param )
左辺の X 座標を乗算します。
SFXRectangleRef MulLeftBottom( SInt16 x , SInt16 y )
MulLeftBottom( SInt16 param )
左下端の座標を乗算します。
SFXRectangleRef MulLeftTop( SInt16 x , SInt16 y )
MulLeftTop( SInt16 param )
左上端の座標を乗算します。
SFXRectangleRef MulOrigin( SInt16 x , SInt16 y )
MulOrigin( SInt16 param )
開始点(左上端)を乗算します。
SFXRectangleRef MulRight( SInt16 param )
右辺の X 座標を乗算します。
SFXRectangleRef MulRightBottom( SInt16 x , SInt16 y )
MulRightBottom( SInt16 param )
右下端の座標を乗算します。
SFXRectangleRef MulRightTop( SInt16 x , SInt16 y )
MulRightTop( SInt16 param )
右上端の座標を乗算します。
SFXRectangleRef MulSize( SInt16 width , SInt16 height )
MulSize( SInt16 param )
サイズを乗算します。
SFXRectangleRef MulTop( SInt16 param )
上辺の Y 座標を乗算します。
SFXRectangleRef MulWidth( SInt16 param )
幅を乗算します。
SFXRectangleRef MulX( SInt16 param )
左上端の X 座標を乗算します。
SFXRectangleRef MulY( SInt16 param )
左上端の Y 座標を乗算します。
SFXRectangleRef NegBottom( Void )
下辺の Y 座標の符号を反転します。
SFXRectangleRef NegHeight( Void )
高さの符号を反転します。
SFXRectangleRef NegLeft( Void )
左辺の X 座標の符号を反転します。
SFXRectangleRef NegLeftBottom( Void )
左下端の座標の符号を反転します。
SFXRectangleRef NegLeftTop( Void )
左上端の座標の符号を反転します。
SFXRectangleRef NegOrigin( Void )
開始点(左上端)の符号を反転します。
SFXRectangleRef NegRight( Void )
右辺の X 座標の符号を反転します。
SFXRectangleRef NegRightBottom( Void )
右下端の座標の符号を反転します。
SFXRectangleRef NegRightTop( Void )
右上端の座標の符号を反転します。
SFXRectangleRef NegSize( Void )
サイズの符号を反転します。
SFXRectangleRef NegTop( Void )
上辺の Y 座標の符号を反転します。
SFXRectangleRef NegWidth( Void )
幅の符号を反転します。
SFXRectangleRef NegX( Void )
左上端の X 座標の符号を反転します。
SFXRectangleRef NegY( Void )
Y 座標の符号を反転します。
SFXRectangleRef Normalize( Void )
長方形を正規化します。
SFXRectangleRef Offset( SFXGridConstRef param )
Offset( SInt16 x , SInt16 y )
開始点(左上端)を加算し、長方形を移動します。
SFXRectangleRef Set( SFXRectangleConstRef param )
Set( SFXPixelConstRef start , SFXPixelConstRef end )
Set( SInt16 x , SInt16 y , SInt16 width , SInt16 height )
Set( SInt16 x , SInt16 y , SFXSizeConstRef size )
Set( SFXGridConstRef origin , SInt16 width , SInt16 height )
Set( SFXGridConstRef origin , SFXSizeConstRef size )
長方形を設定します。
SFXRectangleRef SetBottom( SInt16 param )
下辺の Y 座標を設定します。
SFXRectangleRef SetHeight( SInt16 param )
高さを設定します。
SFXRectangleRef SetLeft( SInt16 param )
左辺の X 座標を設定します。
SFXRectangleRef SetLeftBottom( SFXGridConstRef param )
SetLeftBottom( SInt16 x , SInt16 y )
左下端の座標をグリッド座標で設定します。
SFXRectangleRef SetLeftTop( SFXGridConstRef param )
SetLeftTop( SInt16 x , SInt16 y )
左上端の座標をグリッド座標で設定します。
SFXRectangleRef SetOrigin( SFXGridConstRef param )
SetOrigin( SInt16 x , SInt16 y )
開始点(左上端)をグリッド座標で設定します。
SFXRectangleRef SetRight( SInt16 param )
右辺の X 座標を設定します。
SFXRectangleRef SetRightBottom( SFXGridConstRef param )
SetRightBottom( SInt16 x , SInt16 y )
右下端の座標をグリッド座標で設定します。
SFXRectangleRef SetRightTop( SFXGridConstRef param )
SetRightTop( SInt16 x , SInt16 y )
右上端の座標をグリッド座標で設定します。
SFXRectangleRef SetSize( SFXSizeConstRef param )
SetSize( SInt16 width , SInt16 height )
サイズを設定します。
SFXRectangleRef SetTop( SInt16 param )
上辺の Y 座標を設定します。
SFXRectangleRef SetVertexLeftBottom( SFXPixelConstRef param )
SetVertexLeftBottom( SInt16 x , SInt16 y )
左下端の座標をピクセル座標で設定します。
SFXRectangleRef SetVertexLeftTop( SFXPixelConstRef param )
SetVertexLeftTop( SInt16 x , SInt16 y )
左上端の座標をピクセル座標で設定します。
SFXRectangleRef SetVertexRightBottom( SFXPixelConstRef param )
SetVertexRightBottom( SInt16 x , SInt16 y )
右下端の座標をピクセル座標で設定します。
SFXRectangleRef SetVertexRightTop( SFXPixelConstRef param )
SetVertexRightTop( SInt16 x , SInt16 y )
右上端の座標をピクセル座標で設定します。
SFXRectangleRef SetWidth( SInt16 param )
幅を設定します。
SFXRectangleRef SetX( SInt16 param )
左上端の X 座標を設定します。
SFXRectangleRef SetY( SInt16 param )
左上端の Y 座標を設定します。
SFXRectangleRef SnapBottom( SInt16 param )
下辺の Y 座標を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapCenter( SInt16 param )
長方形の中央点の X 座標を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapCenterBottom( SFXGridConstRef param )
SnapCenterBottom( SInt16 x , SInt16 y )
下辺の中央点を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapCenterMiddle( SFXGridConstRef param )
SnapCenterMiddle( SInt16 x , SInt16 y )
長方形の中央点を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapCenterTop( SFXGridConstRef param )
SnapCenterTop( SInt16 x , SInt16 y )
上辺の中央点を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapLeft( SInt16 param )
左辺の X 座標を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapLeftBottom( SFXGridConstRef param )
SnapLeftBottom( SInt16 x , SInt16 y )
左下端の座標を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapLeftMiddle( SFXGridConstRef param )
SnapLeftMiddle( SInt16 x , SInt16 y )
左辺の中央点を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapLeftTop( SFXGridConstRef param )
SnapLeftTop( SInt16 x , SInt16 y )
左上端の座標を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapMiddle( SInt16 param )
長方形の中央点の Y 座標を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapRight( SInt16 param )
右辺の X 座標を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapRightBottom( SFXGridConstRef param )
SnapRightBottom( SInt16 x , SInt16 y )
右下端の座標を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapRightMiddle( SFXGridConstRef param )
SnapRightMiddle( SInt16 x , SInt16 y )
右辺の中央点を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapRightTop( SFXGridConstRef param )
SnapRightTop( SInt16 x , SInt16 y )
右上端の座標を指定した値に設定し、長方形を移動します。
SFXRectangleRef SnapTop( SInt16 param )
上辺の Y 座標を指定した値に設定し、長方形を移動します。
SFXRectangleRef SubBottom( SInt16 param )
下辺の Y 座標を減算します。
SFXRectangleRef SubHeight( SInt16 param )
高さを減算します。
SFXRectangleRef SubLeft( SInt16 param )
左辺の X 座標を減算します。
SFXRectangleRef SubLeftBottom( SFXGridConstRef param )
SubLeftBottom( SInt16 x , SInt16 y )
左下端の座標を減算します。
SFXRectangleRef SubLeftTop( SFXGridConstRef param )
SubLeftTop( SInt16 x , SInt16 y )
左上端の座標を減算します。
SFXRectangleRef SubOrigin( SFXGridConstRef param )
SubOrigin( SInt16 x , SInt16 y )
開始点(左上端)を減算します。
SFXRectangleRef SubRight( SInt16 param )
右辺の X 座標を減算します。
SFXRectangleRef SubRightBottom( SFXGridConstRef param )
SubRightBottom( SInt16 x , SInt16 y )
右下端の座標を減算します。
SFXRectangleRef SubRightTop( SFXGridConstRef param )
SubRightTop( SInt16 x , SInt16 y )
右上端の座標を減算します。
SFXRectangleRef SubSize( SFXSizeConstRef param )
SubSize( SInt16 width , SInt16 height )
サイズを減算します。
SFXRectangleRef SubTop( SInt16 param )
上辺の Y 座標を減算します。
SFXRectangleRef SubWidth( SInt16 param )
幅を減算します。
SFXRectangleRef SubX( SInt16 param )
左上端の X 座標を減算します。
SFXRectangleRef SubY( SInt16 param )
左上端の Y 座標を減算します。
Bool UnifiesWith( SFXRectangleConstRef param )
2 つの長方形を覆えるか判定します。
SFXRectangleRef Union( SFXRectangleConstRef param )
2 つの長方形を覆います。
SFXRectangleRef Unoffset( SFXGridConstRef param )
Unoffset( SInt16 x , SInt16 y )
開始点(左上端)を減算し、長方形を移動します。
static
SFXRectangleConstRef
ZeroInstance( Void )
0 を表すインスタンスを取得します。
SFXRectangle operator &( SFXRectangleConstRef left , SFXRectangleConstRef right )
2 つの長方形の共通部分を取得します。
SFXRectangleRef operator &=( SFXRectangleConstRef param )
2 つの長方形との共通部分を取得して、左辺の長方形に設定します。
SFXRectangleRef operator+=( SFXGridConstRef param )
左上端の座標を加算し、長方形を移動します。
SFXRectangleRef operator-=( SFXGridConstRef param )
左上端の座標を減算し、長方形を移動します。
SFXRectangleRef operator=( SFXRectangleConstRef param )
長方形を代入します。
SFXRectangle operator|( SFXRectangleConstRef left , SFXRectangleConstRef right )
2 つの長方形を覆える長方形を取得します。
SFXRectangleRef operator|=( SFXRectangleConstRef param )
2 つの長方形を覆える長方形を取得し、設定します。
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 )
左上端の座標を加算し、長方形を移動します。
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 )
左上端の座標を加算し、長方形を移動します。

SFXRectangle::SFXRectangle
SFXRectangle クラスのコンストラクタです。
[ 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     // 右下端の座標
);

SFXRectangle::AddBottom
下辺の Y 座標を加算します。
[ 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


SFXRectangle::AddHeight
高さを加算します。
[ 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


SFXRectangle::AddLeft
左辺の X 座標を加算します。
[ 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


SFXRectangle::AddLeftBottom
左下端の座標を加算します。
[ 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


SFXRectangle::AddLeftTop
左上端の座標を加算します。
[ 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


SFXRectangle::AddOrigin
開始点(左上端)を加算します。
[ 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


SFXRectangle::AddRight
右辺の X 座標を加算します。
[ 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


SFXRectangle::AddRightBottom
右下端の座標を加算します。
[ 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


SFXRectangle::AddRightTop
右上端の座標を加算します。
[ 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


SFXRectangle::AddSize
サイズを加算します。
[ 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 |