![]() ![]() ![]()
|
BREW C++ ライブラリ & GUI フレームワーク & XML ミドルウェア : SophiaFramework 4.1 |
| コンストラクタ/デストラクタ |
|---|
|
SFXMargin( Void ) SFXMargin( SFXMarginConstRef param ) SFXMargin( SFXSizeConstRef lt , SFXSizeConstRef rb ) SFXMargin( SFXSizeConstRef lt , SInt16 right , SInt16 bottom ) SFXMargin( SInt16 left , SInt16 top , SFXSizeConstRef rb ) SFXMargin( SInt16 left , SInt16 top , SInt16 right , SInt16 bottom ) SFXMargin( SInt16 horizontal , SInt16 vertical ) SFXMargin クラスのコンストラクタです。
|
| 型 |
|---|
|
AtomRec
マージンを表す構造体です。
|
| グローバル関数 | |
|---|---|
| SFXMargin::AtomRec * |
atomic_cast(
SFXMargin * param
) SFXMargin を SFXMargin::AtomRec に変換します。
|
| SFXMargin::AtomRec const * |
atomic_cast(
SFXMargin const * param
) SFXMargin を SFXMargin::AtomRec に変換します。
|
| SFXMargin |
operator%(
SFXMarginConstRef left
, SInt16 right
) マージンを剰余します。
|
| SFXMargin |
operator/(
SFXMarginConstRef left
, SInt16 right
) マージンを除算します。
|
| Bool |
operator==(
SFXMarginConstRef left
, SFXMarginConstRef right
) == の関係を判定します。
|
| SFXMargin |
operator-( Void ) operator-( SFXMarginConstRef left , SFXMarginConstRef right ) マージンを減算します。
|
| SFXMargin |
operator*(
SFXMarginConstRef left
, SInt16 right
) マージンを乗算します。
|
| Bool |
operator!=(
SFXMarginConstRef left
, SFXMarginConstRef right
) != の関係を判定します。
|
| SFXMargin |
operator+( Void ) operator+( SFXMarginConstRef left , SFXMarginConstRef right ) マージンを加算します。
|
[ public, explicit ] SFXMargin(Void);
[ public ]
SFXMargin(
SFXMarginConstRef param // 元になるマージン
);
[ public, explicit ]
SFXMargin(
SFXSizeConstRef lt // 左マージンと上マージンのサイズ
SFXSizeConstRef rb // 右マージンと下マージンのサイズ
);
[ public, explicit ]
SFXMargin(
SFXSizeConstRef lt // 左マージンと上マージンのサイズ
SInt16 right // 右マージンの幅
SInt16 bottom // 下マージンの高さ
);
[ public, explicit ]
SFXMargin(
SInt16 left // 左マージンの幅
SInt16 top // 上マージンの高さ
SFXSizeConstRef rb // 右マージンと下マージンのサイズ
);
[ public, explicit ]
SFXMargin(
SInt16 left // 左マージンの幅
SInt16 top // 上マージンの高さ
SInt16 right // 右マージンの幅
SInt16 bottom // 下マージンの高さ
);
[ public, explicit ]
SFXMargin(
SInt16 horizontal // 左マージンと右マージンの幅
SInt16 vertical // 上マージンと下マージンの高さ
);
[ public ] SFXMarginRef Add( SFXMarginConstRef param // 各マージンに加える値 );
[ public ] SFXMarginRef Add( SFXSizeConstRef lt // 左マージンと上マージンに加えるサイズ SFXSizeConstRef rb // 右マージンと下マージンに加えるサイズ );
[ public ] SFXMarginRef Add( SFXSizeConstRef lt // 左マージンと上マージンに加えるサイズ SInt16 right // 右マージンに加える幅 SInt16 bottom // 下マージンに加える高さ );
[ public ] SFXMarginRef Add( SInt16 left // 左マージンに加える幅 SInt16 top // 上マージンに加える高さ SFXSizeConstRef rb // 右マージンと下マージンに加えるサイズ );
[ public ] SFXMarginRef Add( SInt16 left // 左マージンに加える幅 SInt16 top // 上マージンに加える高さ SInt16 right // 右マージンに加える幅 SInt16 bottom // 下マージンに加える高さ );
[ public ] SFXMarginRef Add( SInt16 horizontal // 左マージンと右マージンに加える幅 SInt16 vertical // 上マージンと下マージンに加える高さ );
SFXMargin::AddBottom | SFXMargin::AddLeft | SFXMargin::AddLeftBottom | SFXMargin::AddLeftTop | SFXMargin::AddRight | SFXMargin::AddRightBottom | SFXMargin::AddRightTop | SFXMargin::AddTop | SFXMargin::Sub | SFXMargin::Mul | SFXMargin::Div | SFXMargin::Mod | SFXMargin::Neg
[ public ] SFXMarginRef AddBottom( SInt16 param // 下マージンに加える高さ );
SFXMargin::AddTop | SFXMargin::AddLeft | SFXMargin::AddRight | SFXMargin::AddLeftTop | SFXMargin::AddRightTop | SFXMargin::AddLeftBottom | SFXMargin::AddRightBottom | SFXMargin::SubBottom | SFXMargin::MulBottom | SFXMargin::DivBottom | SFXMargin::ModBottom | SFXMargin::NegBottom
[ public ] SFXMarginRef AddLeft( SInt16 param // 左マージンに加える値 );
SFXMargin::AddTop | SFXMargin::AddBottom | SFXMargin::AddRight | SFXMargin::AddLeftTop | SFXMargin::AddRightTop | SFXMargin::AddLeftBottom | SFXMargin::AddRightBottom | SFXMargin::SubLeft | SFXMargin::MulLeft | SFXMargin::DivLeft | SFXMargin::ModLeft | SFXMargin::NegLeft
[ public ] SFXMarginRef AddLeftBottom( SFXSizeConstRef param // 左マージンと下マージンに加える値 );
[ public ] SFXMarginRef AddLeftBottom( SInt16 width // 左マージンに加える幅 SInt16 height // 下マージンに加える高さ );
SFXMargin::AddBottom | SFXMargin::AddLeft | SFXMargin::SubLeftBottom | SFXMargin::MulLeftBottom | SFXMargin::DivLeftBottom | SFXMargin::ModLeftBottom | SFXMargin::NegLeftBottom
[ public ] SFXMarginRef AddLeftTop( SFXSizeConstRef param // 左マージンと上マージンに加える値 );
[ public ] SFXMarginRef AddLeftTop( SInt16 width // 左マージンに加える幅 SInt16 height // 上マージンに加える高さ );
SFXMargin::AddTop | SFXMargin::AddLeft | SFXMargin::SubLeftTop | SFXMargin::MulLeftTop | SFXMargin::DivLeftTop | SFXMargin::ModLeftTop | SFXMargin::NegLeftTop
[ public ] SFXMarginRef AddRight( SInt16 param // 右マージンに加える値 );
SFXMargin::AddTop | SFXMargin::AddBottom | SFXMargin::AddLeft | SFXMargin::AddLeftTop | SFXMargin::AddRightTop | SFXMargin::AddLeftBottom | SFXMargin::AddRightBottom | SFXMargin::SubRight | SFXMargin::MulRight | SFXMargin::DivRight | SFXMargin::ModRight | SFXMargin::NegRight
[ public ] SFXMarginRef AddRightBottom( SFXSizeConstRef param // 右マージンと下マージンに加える値 );
[ public ] SFXMarginRef AddRightBottom( SInt16 width // 右マージンに加える幅 SInt16 height // 下マージンに加える高さ );
SFXMargin::AddBottom | SFXMargin::AddRight | SFXMargin::SubRightBottom | SFXMargin::MulRightBottom | SFXMargin::DivRightBottom | SFXMargin::ModRightBottom | SFXMargin::NegRightBottom
[ public ] SFXMarginRef AddRightTop( SFXSizeConstRef param // 右マージンと上マージンに加える値 );
[ public ] SFXMarginRef AddRightTop( SInt16 width // 右マージンに加える幅 SInt16 height // 上マージンに加える高さ );
SFXMargin::AddTop | SFXMargin::AddLeft | SFXMargin::AddRight | SFXMargin::SubRightTop | SFXMargin::MulRightTop | SFXMargin::DivRightTop | SFXMargin::ModRightTop | SFXMargin::NegRightTop
[ public ] SFXMarginRef AddTop( SInt16 param // 上マージンに加える値 );
SFXMargin::AddBottom | SFXMargin::AddLeft | SFXMargin::AddRight | SFXMargin::AddLeftTop | SFXMargin::AddRightTop | SFXMargin::AddLeftBottom | SFXMargin::AddRightBottom | SFXMargin::SubTop | SFXMargin::MulTop | SFXMargin::DivTop | SFXMargin::ModTop | SFXMargin::NegTop
[ public ] SFXMarginRef Div( SInt16 left // 左マージンを除算する値 SInt16 top // 上マージンを除算する値 SInt16 right // 右マージンを除算する値 SInt16 bottom // 下マージンを除算する値 );
[ public ] SFXMarginRef Div( SInt16 horizontal // 左マージンと右マージンを除算する値 SInt16 vertical // 上マージンと下マージンを除算する値 );
[ public ] SFXMarginRef Div( SInt16 param // 各マージンを除算する値 );
left、top、right、bottom、horizontal、vertical、param の値が 0 の場合の動作は未定義です。
SFXMargin::Add | SFXMargin::Sub | SFXMargin::Mul | SFXMargin::DivBottom | SFXMargin::DivLeft | SFXMargin::DivLeftBottom | SFXMargin::DivLeftTop | SFXMargin::DivRight | SFXMargin::DivRightBottom | SFXMargin::DivRightTop | SFXMargin::DivTop | SFXMargin::Mod | SFXMargin::Neg | operator/ | SFXMargin::operator/=
[ public ] SFXMarginRef DivBottom( SInt16 param // 下マージンを除算する値 );
param の値が 0 の場合の動作は未定義です。
SFXMargin::AddBottom | SFXMargin::SubBottom | SFXMargin::MulBottom | SFXMargin::DivTop | SFXMargin::DivLeft | SFXMargin::DivRight | SFXMargin::DivLeftTop | SFXMargin::DivRightTop | SFXMargin::DivLeftBottom | SFXMargin::DivRightBottom | SFXMargin::ModBottom | SFXMargin::NegBottom
[ public ] SFXMarginRef DivLeft( SInt16 param // 左マージンを除算する値 );
param の値が 0 の場合の動作は未定義です。
SFXMargin::AddLeft | SFXMargin::SubLeft | SFXMargin::MulLeft | SFXMargin::DivTop | SFXMargin::DivBottom | SFXMargin::DivRight | SFXMargin::DivLeftTop | SFXMargin::DivRightTop | SFXMargin::DivLeftBottom | SFXMargin::DivRightBottom | SFXMargin::ModLeft | SFXMargin::NegLeft
[ public ] SFXMarginRef DivLeftBottom( SInt16 width // 左マージンを除算する値 SInt16 height // 下マージンを除算する値 );
[ public ] SFXMarginRef DivLeftBottom( SInt16 param // 左マージンと下マージンを除算する値 );
width、height、または param の値が 0 の場合の動作は未定義です。
SFXMargin::AddLeftBottom | SFXMargin::SubLeftBottom | SFXMargin::MulLeftBottom | SFXMargin::DivBottom | SFXMargin::DivLeft | SFXMargin::ModLeftBottom | SFXMargin::NegLeftBottom
[ public ] SFXMarginRef DivLeftTop( SInt16 width // 左マージンを除算する値 SInt16 height // 上マージンを除算する値 );
[ public ] SFXMarginRef DivLeftTop( SInt16 param // 左マージンと上マージンを除算する値 );
width、height、または param の値が 0 の場合の動作は未定義です。
SFXMargin::AddLeftTop | SFXMargin::SubLeftTop | SFXMargin::MulLeftTop | SFXMargin::DivTop | SFXMargin::DivLeft | SFXMargin::ModLeftTop | SFXMargin::NegLeftTop
[ public ] SFXMarginRef DivRight( SInt16 param // 右マージンを除算する値 );
param の値が 0 の場合の動作は未定義です。
SFXMargin::AddRight | SFXMargin::SubRight | SFXMargin::MulRight | SFXMargin::DivTop | SFXMargin::DivBottom | SFXMargin::DivLeft | SFXMargin::DivLeftTop | SFXMargin::DivRightTop | SFXMargin::DivLeftBottom | SFXMargin::DivRightBottom | SFXMargin::ModRight | SFXMargin::NegRight
[ public ] SFXMarginRef DivRightBottom( SInt16 width // 右マージンを除算する値 SInt16 height // 下マージンを除算する値 );
[ public ] SFXMarginRef DivRightBottom( SInt16 param // 右マージンと下マージンを除算する値 );
width、height、または param の値が 0 の場合の動作は未定義です。
SFXMargin::AddRightBottom | SFXMargin::SubRightBottom | SFXMargin::MulRightBottom | SFXMargin::DivBottom | SFXMargin::DivRight | SFXMargin::ModRightBottom | SFXMargin::NegRightBottom
[ public ] SFXMarginRef DivRightTop( SInt16 width // 右マージンを除算する値 SInt16 height // 上マージンを除算する値 );
[ public ] SFXMarginRef DivRightTop( SInt16 param // 右マージンと上マージンを除算する値 );
width、height、または param の値が 0 の場合の動作は未定義です。
SFXMargin::AddRightTop | SFXMargin::SubRightTop | SFXMargin::MulRightTop | SFXMargin::DivTop | SFXMargin::DivLeft | SFXMargin::DivRight | SFXMargin::ModRightTop | SFXMargin::NegRightTop
[ public ] SFXMarginRef DivTop( SInt16 param // 上マージンを除算する値 );
param の値が 0 の場合の動作は未定義です。
SFXMargin::AddTop | SFXMargin::SubTop | SFXMargin::MulTop | SFXMargin::DivBottom | SFXMargin::DivLeft | SFXMargin::DivRight | SFXMargin::DivLeftTop | SFXMargin::DivRightTop | SFXMargin::DivLeftBottom | SFXMargin::DivRightBottom | SFXMargin::ModTop | SFXMargin::NegTop
[ public, static ] SFXMarginConstRef EmptyInstance(Void);
面積がゼロであるマージンを表すインスタンスを返します。
図形で長さを表す変数が、0 以下のときその図形の面積はゼロになります。主に、代入文での図形の初期値や、関数での図形の戻り値として利用します。
[ public, const ] Bool Equals( SFXMarginConstRef param // 比較対象のマージン );
[ public, const ] Bool Equals( SFXSizeConstRef lt // 比較対象の左マージンと上マージンのサイズ SFXSizeConstRef rb // 比較対象の右マージンと下マージンのサイズ );
[ public, const ] Bool Equals( SFXSizeConstRef lt // 比較対象の左マージンと上マージンのサイズ SInt16 right // 比較対象の右マージンの幅 SInt16 bottom // 比較対象の下マージンの高さ );
[ public, const ] Bool Equals( SInt16 left // 比較対象の左マージンの幅 SInt16 top // 比較対象の上マージンの高さ SFXSizeConstRef rb // 比較対象の右マージンと下マージンのサイズ );
[ public, const ] Bool Equals( SInt16 left // 比較対象の左マージンの幅 SInt16 top // 比較対象の上マージンの高さ SInt16 right // 比較対象の右マージンの幅 SInt16 bottom // 比較対象の下マージンの高さ );
[ public, const ] Bool Equals( SInt16 horizontal // 比較対象の左マージンと右マージンの幅 SInt16 vertical // 比較対象の上マージンと下マージンの高さ );
[ public, const ] SInt16 GetBottom(Void);
SFXMargin::GetTop | SFXMargin::GetLeft | SFXMargin::GetRight | SFXMargin::GetLeftTop | SFXMargin::GetRightTop | SFXMargin::GetLeftBottom | SFXMargin::GetRightBottom | SFXMargin::SetBottom
[ public, const ] SInt16 GetLeft(Void);
SFXMargin::GetTop | SFXMargin::GetBottom | SFXMargin::GetRight | SFXMargin::GetLeftTop | SFXMargin::GetRightTop | SFXMargin::GetLeftBottom | SFXMargin::GetRightBottom | SFXMargin::SetLeft
[ public, const ] SFXSize GetLeftBottom(Void);
[ public, const ] SFXSize GetLeftTop(Void);
[ public, const ] SInt16 GetRight(Void);
SFXMargin::GetTop | SFXMargin::GetBottom | SFXMargin::GetLeft | SFXMargin::GetLeftTop | SFXMargin::GetRightTop | SFXMargin::GetLeftBottom | SFXMargin::GetRightBottom | SFXMargin::SetRight
[ public, const ] SFXSize GetRightBottom(Void);
[ public, const ] SFXSize GetRightTop(Void);
[ public, const ] SInt16 GetTop(Void);
SFXMargin::GetBottom | SFXMargin::GetLeft | SFXMargin::GetRight | SFXMargin::GetLeftTop | SFXMargin::GetRightTop | SFXMargin::GetLeftBottom | SFXMargin::GetRightBottom | SFXMargin::SetTop
[ public, const ] Bool IsEmpty(Void);
[ public ] SFXMarginRef Mod( SInt16 left // 左マージンを除算する値 SInt16 top // 上マージンを除算する値 SInt16 right // 右マージンを除算する値 SInt16 bottom // 下マージンを除算する値 );
[ public ] SFXMarginRef Mod( SInt16 horizontal // 左マージンと右マージンを除算する値 SInt16 vertical // 上マージンと下マージンを除算する値 );
[ public ] SFXMarginRef Mod( SInt16 param // 各マージンを除算する値 );
left、top、right、bottom、horizontal、vertical、param の値が 0 の場合の動作は未定義です。
SFXMargin::Add | SFXMargin::Sub | SFXMargin::Mul | SFXMargin::Div | SFXMargin::ModBottom | SFXMargin::ModLeft | SFXMargin::ModLeftBottom | SFXMargin::ModLeftTop | SFXMargin::ModRight | SFXMargin::ModRightBottom | SFXMargin::ModRightTop | SFXMargin::ModTop | SFXMargin::Neg | operator% | SFXMargin::operator%=
[ public ] SFXMarginRef ModBottom( SInt16 param // 下マージンを除算する値 );
param の値が 0 の場合の動作は未定義です。
SFXMargin::AddBottom | SFXMargin::SubBottom | SFXMargin::MulBottom | SFXMargin::DivBottom | SFXMargin::ModTop | SFXMargin::ModLeft | SFXMargin::ModRight | SFXMargin::ModLeftTop | SFXMargin::ModRightTop | SFXMargin::ModLeftBottom | SFXMargin::ModRightBottom | SFXMargin::NegBottom
[ public ] SFXMarginRef ModLeft( SInt16 param // 左マージンを除算する値 );
param の値が 0 の場合の動作は未定義です。
SFXMargin::AddLeft | SFXMargin::SubLeft | SFXMargin::MulLeft | SFXMargin::DivLeft | SFXMargin::ModTop | SFXMargin::ModBottom | SFXMargin::ModRight | SFXMargin::ModLeftTop | SFXMargin::ModRightTop | SFXMargin::ModLeftBottom | SFXMargin::ModRightBottom | SFXMargin::NegLeft
[ public ] SFXMarginRef ModLeftBottom( SInt16 width // 左マージンを除算する値 SInt16 height // 下マージンを除算する値 );
[ public ] SFXMarginRef ModLeftBottom( SInt16 param // 左マージンと下マージンを除算する値 );
width、height、または param の値が 0 の場合の動作は未定義です。
SFXMargin::AddLeftBottom | SFXMargin::SubLeftBottom | SFXMargin::MulLeftBottom | SFXMargin::DivLeftBottom | SFXMargin::ModBottom | SFXMargin::ModLeft | SFXMargin::NegLeftBottom
[ public ] SFXMarginRef ModLeftTop( SInt16 width // 左マージンを除算する値 SInt16 height // 上マージンを除算する値 );
[ public ] SFXMarginRef ModLeftTop( SInt16 param // 左マージンと上マージンを除算する値 );
width、height、または param の値が 0 の場合の動作は未定義です。
SFXMargin::AddLeftTop | SFXMargin::SubLeftTop | SFXMargin::MulLeftTop | SFXMargin::DivLeftTop | SFXMargin::ModTop | SFXMargin::ModLeft | SFXMargin::NegLeftTop
[ public ] SFXMarginRef ModRight( SInt16 param // 右マージンを除算する値 );
param の値が 0 の場合の動作は未定義です。
SFXMargin::AddRight | SFXMargin::SubRight | SFXMargin::MulRight | SFXMargin::DivRight | SFXMargin::ModTop | SFXMargin::ModBottom | SFXMargin::ModLeft | SFXMargin::ModLeftTop | SFXMargin::ModRightTop | SFXMargin::ModLeftBottom | SFXMargin::ModRightBottom | SFXMargin::NegRight
[ public ] SFXMarginRef ModRightBottom( SInt16 width // 右マージンを除算する値 SInt16 height // 下マージンを除算する値 );
[ public ] SFXMarginRef ModRightBottom( SInt16 param // 右マージンと下マージンを除算する値 );
width、height、または param の値が 0 の場合の動作は未定義です。