WKAL::FloatRect Class Reference
List of all members.
Constructor & Destructor Documentation
| WKAL::FloatRect::FloatRect |
( |
|
) |
|
FloatRect constructor.
- Parameters:
-
| [in] | : | position |
| [in] | : | size |
| WKAL::FloatRect::FloatRect |
( |
const IntRect & |
|
) |
|
Member Function Documentation
| static FloatRect WKAL::FloatRect::narrowPrecision |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
width, |
|
|
double |
height | |
|
) |
| | [static] |
narrow precision
- Parameters:
-
| [in] | : | x value |
| [in] | : | y value |
| [in] | : | width value |
| [in] | : | height value |
| [out] | : | float rect |
get float rect position
- Parameters:
-
| [out] | : | position FloatPoint p = r.location();
|
get float rect size
- Parameters:
-
| void WKAL::FloatRect::setLocation |
( |
const FloatPoint & |
location |
) |
|
| void WKAL::FloatRect::setSize |
( |
const FloatSize & |
size |
) |
|
| float WKAL::FloatRect::x |
( |
|
) |
const |
| float WKAL::FloatRect::y |
( |
|
) |
const |
| float WKAL::FloatRect::width |
( |
|
) |
const |
get width value
- Parameters:
-
| float WKAL::FloatRect::height |
( |
|
) |
const |
get height value
- Parameters:
-
| void WKAL::FloatRect::setX |
( |
float |
x |
) |
|
| void WKAL::FloatRect::setY |
( |
float |
y |
) |
|
| void WKAL::FloatRect::setWidth |
( |
float |
width |
) |
|
set width value
- Parameters:
-
| void WKAL::FloatRect::setHeight |
( |
float |
height |
) |
|
set height value
- Parameters:
-
| bool WKAL::FloatRect::isEmpty |
( |
|
) |
const |
| float WKAL::FloatRect::right |
( |
|
) |
const |
get right position
- Parameters:
-
| float WKAL::FloatRect::bottom |
( |
|
) |
const |
get bottom position
- Parameters:
-
| void WKAL::FloatRect::move |
( |
const FloatSize & |
delta |
) |
|
move float rect position
- Parameters:
-
| void WKAL::FloatRect::move |
( |
float |
dx, |
|
|
float |
dy | |
|
) |
| | |
move float rect position
- Parameters:
-
| [in] | : | x delta value |
| [in] | : | y delta value |
| bool WKAL::FloatRect::intersects |
( |
const FloatRect & |
|
) |
const |
intersects with the float rect given
- Parameters:
-
| [in] | : | float rect |
| [out] | : | true if the intersects is possible. bool o = r.intersects(f);
|
| bool WKAL::FloatRect::contains |
( |
const FloatRect & |
|
) |
const |
test if float rect contains the float rect given
- Parameters:
-
| [in] | : | float rect |
| [out] | : | true if float rect contains the float rect given |
| void WKAL::FloatRect::intersect |
( |
const FloatRect & |
|
) |
|
intersect with the float rect given
- Parameters:
-
| void WKAL::FloatRect::unite |
( |
const FloatRect & |
|
) |
|
it's a union with the float rect given
- Parameters:
-
| bool WKAL::FloatRect::contains |
( |
const FloatPoint & |
point |
) |
const |
test if the point is contains in float rect
- Parameters:
-
| [in] | : | point |
| [out] | : | true if the point is contains in float rect |
| void WKAL::FloatRect::inflateX |
( |
float |
dx |
) |
|
| void WKAL::FloatRect::inflateY |
( |
float |
dy |
) |
|
| void WKAL::FloatRect::inflate |
( |
float |
d |
) |
|
| void WKAL::FloatRect::scale |
( |
float |
s |
) |
|
The documentation for this class was generated from the following file:
- /home/nef/EnvHaineko/haineko/home/developer/Doduo_sandlabs/BAL/WKAL/Skeletons/Graphics/FloatRect.t