#include <DimensionF.h>
Public Member Functions | |
DimensionF () | |
コンストラクタ | |
DimensionF (float sourceWidth, float sourceHeight) | |
コンストラクタ | |
DimensionF (float sourceArray[2]) | |
コンストラクタ | |
DimensionF (const DimensionI &source) | |
コンストラクタ | |
void | set (float sourceWidth, float sourceHeight) |
値の設定 | |
void | set (float sourceArray[2]) |
値の設定 | |
void | set (const DimensionI &source) |
値の設定 | |
DimensionF | operator+ (const DimensionF &addDimension) const |
加算 | |
DimensionF | operator- (const DimensionF &subDimension) const |
減算 | |
DimensionF | operator * (const DimensionF &mulDimension) const |
乗算 | |
DimensionF | operator * (float mulValue) const |
乗算 | |
DimensionF | operator+ () const |
+演算子 | |
DimensionF | operator- () const |
-演算子 | |
DimensionF & | operator+= (const DimensionF &addDimension) |
代入加算 | |
DimensionF & | operator-= (const DimensionF &subDimension) |
代入減算 | |
DimensionF & | operator *= (const DimensionF &mulDimension) |
代入乗算 | |
DimensionF & | operator *= (float mulValue) |
代入乗算 | |
bool | operator== (const DimensionF &target) const |
同じ値かどうか | |
bool | epsilonEquals (const DimensionF &target, float epsilon) const |
同じ値かどうか | |
bool | operator!= (const DimensionF &target) const |
同じ値でないかどうか | |
bool | notEpsilonEquals (const DimensionF &target, float epsilon) const |
同じ値でないかどうか | |
String | toString () const |
文字列化 | |
Static Public Attributes | |
const DimensionF | zero |
ゼロ寸法 | |
const DimensionF | unit |
単位寸法 | |
Friends | |
DimensionF | operator * (float mulValue, const DimensionF &mulDimension) |
乗算 |
このクラスは継承しないで下さい。
Definition at line 38 of file DimensionF.h.
|
コンストラクタ このコンストラクタは初期値の設定を行わないため値は不定です。 Definition at line 74 of file DimensionF.h. Referenced by operator *(), operator+(), and operator-(). |
|
コンストラクタ
Definition at line 81 of file DimensionF.h. |
|
コンストラクタ
Definition at line 88 of file DimensionF.h. |
|
コンストラクタ
Definition at line 42 of file DimensionF.cpp. References Lamp::DimensionI::height, height, Lamp::DimensionI::width, and width. |
|
同じ値かどうか
Definition at line 256 of file DimensionF.h. |
|
同じ値でないかどうか
Definition at line 278 of file DimensionF.h. |
|
乗算
Definition at line 163 of file DimensionF.h. References DimensionF(), height, and width. |
|
乗算
Definition at line 153 of file DimensionF.h. References DimensionF(), height, and width. |
|
代入乗算
Definition at line 232 of file DimensionF.h. |
|
代入乗算
Definition at line 221 of file DimensionF.h. |
|
同じ値でないかどうか
Definition at line 268 of file DimensionF.h. |
|
+演算子
Definition at line 183 of file DimensionF.h. |
|
加算
Definition at line 133 of file DimensionF.h. References DimensionF(), height, and width. |
|
代入加算
Definition at line 199 of file DimensionF.h. |
|
-演算子
Definition at line 189 of file DimensionF.h. References DimensionF(), height, and width. |
|
減算
Definition at line 143 of file DimensionF.h. References DimensionF(), height, and width. |
|
代入減算
Definition at line 210 of file DimensionF.h. |
|
同じ値かどうか
Definition at line 246 of file DimensionF.h. |
|
値の設定
Definition at line 48 of file DimensionF.cpp. References Lamp::DimensionI::height, height, Lamp::DimensionI::width, and width. |
|
値の設定
Definition at line 114 of file DimensionF.h. |
|
値の設定
Definition at line 105 of file DimensionF.h. Referenced by Lamp::SpriteRenderer::applyRendererState(), and Lamp::SpriteRenderState::SpriteRenderState(). |
|
文字列化
Definition at line 293 of file DimensionF.h. References Lamp::String::format(), height, and width. |
|
乗算
Definition at line 173 of file DimensionF.h. |