A size in 2D space.
More...
|
static GType | get_type () |
| Get the GType for this class, for use with the underlying GObject type system. More...
|
|
Clutter::Size::Size |
( |
const ClutterSize * |
gobject) | |
|
|
explicit |
Clutter::Size::Size |
( |
float |
width = 0 , |
|
|
float |
height = 0 |
|
) |
| |
|
explicit |
Clutter::Size::Size |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
Clutter::Size::Size |
( |
double |
width, |
|
|
double |
height |
|
) |
| |
Prevents calls to Size(double, double) being ambiguous.
N.B. this will convert the input to floats, and rounding errors are possible.
float Clutter::Size::get_height |
( |
) | |
const |
static GType Clutter::Size::get_type |
( |
) | |
|
|
static |
Get the GType for this class, for use with the underlying GObject type system.
float Clutter::Size::get_width |
( |
) | |
const |
ClutterSize* Clutter::Size::gobj |
( |
) | |
|
|
inline |
Provides access to the underlying C instance.
const ClutterSize* Clutter::Size::gobj |
( |
) | |
const |
|
inline |
Provides access to the underlying C instance.
void Clutter::Size::set_height |
( |
const float & |
value) | |
|
void Clutter::Size::set_width |
( |
const float & |
value) | |
|
- Parameters
-
lhs | The left-hand side |
rhs | The right-hand side |
- Returns
- The result
bool operator== |
( |
const Size& |
lhs, |
|
|
const Size& |
rhs |
|
) |
| |
|
related |
- Parameters
-
lhs | The left-hand side |
rhs | The right-hand side |
- Returns
- The result
- Parameters
-
- Returns
- A C++ instance that wraps this C instance.
- Parameters
-
- Returns
- A C++ instance that wraps this C instance.
ClutterSize Clutter::Size::gobject_ |
|
protected |
The documentation for this class was generated from the following file: