virtual Clutter::Backend::~Backend |
( |
| ) |
|
|
virtual |
Clutter::Backend::Backend |
( |
| ) |
|
|
protected |
guint Clutter::Backend::get_double_click_distance |
( |
| ) |
const |
Retrieves the distance used to verify a double click event.
- Since cluttermm 0.4:
Deprecated: 1.4: Use Clutter::Settings::property_double_click_distance() instead
- Deprecated:
- Use Settings's double-click-distance property instead.
- Returns
- A distance, in pixels.
guint Clutter::Backend::get_double_click_time |
( |
| ) |
const |
Gets the maximum time between two button press events, as set by set_double_click_time().
- Since cluttermm 0.4:
Deprecated: 1.4: Use Clutter::Settings::property_double_click_time() instead
- Deprecated:
- Use Settings's double-click-time property instead.
- Returns
- A time in milliseconds.
Retrieves the default font name as set by set_font_name().
- Since cluttermm 1.0:
Deprecated: 1.4: Use Clutter::Settings::property_font_name() instead
- Deprecated:
- Use Settings's font-name property instead.
- Returns
- The font name for the backend. The returned string is owned by the Clutter::Backend and should never be modified or freed.
Retrieves the font options for backend.
- Since cluttermm 0.8:
- Returns
- The font options of the Clutter::Backend. The returned #cairo_font_options_t is owned by the backend and should not be modified or freed.
double Clutter::Backend::get_resolution |
( |
| ) |
const |
Gets the resolution for font handling on the screen.
The resolution is a scale factor between points specified in a Pango::FontDescription and cairo units. The default value is 96.0, meaning that a 10 point font will be 13 units high (10 * 96. / 72. = 13.3).
Clutter will set the resolution using the current backend when initializing; the resolution is also stored in the Clutter::Settings::property_font_dpi() property.
- Since cluttermm 0.4:
- Deprecated:
- Use Settings's front-dpi property instead.
- Returns
- The current resolution, or -1 if no resolution has been set.
static GType Clutter::Backend::get_type |
( |
| ) |
|
|
static |
Get the GType for this class, for use with the underlying GObject type system.
ClutterBackend* Clutter::Backend::gobj |
( |
| ) |
|
|
inline |
Provides access to the underlying C GObject.
const ClutterBackend* Clutter::Backend::gobj |
( |
| ) |
const |
|
inline |
Provides access to the underlying C GObject.
ClutterBackend* Clutter::Backend::gobj_copy |
( |
| ) |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
void Clutter::Backend::set_double_click_distance |
( |
guint |
distance | ) |
|
Sets the maximum distance used to verify a double click event.
- Since cluttermm 0.4:
Deprecated: 1.4: Use Clutter::Settings::property_double_click_distance() instead
- Deprecated:
- Use Settings's double-click-distance property instead.
- Parameters
-
distance | A distance, in pixels. |
void Clutter::Backend::set_double_click_time |
( |
guint |
msec | ) |
|
Sets the maximum time between two button press events, used to verify whether it's a double click event or not.
- Since cluttermm 0.4:
Deprecated: 1.4: Use Clutter::Settings::property_double_click_time() instead
- Deprecated:
- Use Settings's double-click-time property instead.
- Parameters
-
msec | Milliseconds between two button press events. |
void Clutter::Backend::set_font_name |
( |
const Glib::ustring & |
font_name | ) |
|
Sets the default font to be used by Clutter.
The font_name string must either be 0
, which means that the font name from the default Clutter::Backend will be used; or be something that can be parsed by the pango_font_description_from_string() function.
- Since cluttermm 1.0:
Deprecated: 1.4: Use Clutter::Settings::property_font_name() instead
- Deprecated:
- Use Settings's font-name property instead.
- Parameters
-
font_name | The name of the font. |
Sets the new font options for backend.
The Clutter::Backend will copy the #cairo_font_options_t.
If options is 0
, the first following call to get_font_options() will return the default font options for backend.
This function is intended for actors creating a Pango layout using the PangoCairo API.
- Since cluttermm 0.8:
- Parameters
-
options | Cairo font options for the backend, or 0 . |
void Clutter::Backend::set_resolution |
( |
double |
dpi | ) |
|
Sets the resolution for font handling on the screen.
This is a scale factor between points specified in a Pango::FontDescription and cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).
Applications should never need to call this function.
- Since cluttermm 0.4:
Deprecated: 1.4: Use Clutter::Settings::property_font_dpi() instead
- Deprecated:
- Use Settings's front-dpi property instead.
- Parameters
-
dpi | The resolution in "dots per inch" (Physical inches aren't actually involved; the terminology is conventional). |
A Glib::wrap() method for this object.
- Parameters
-
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns
- A C++ instance that wraps this C instance.
The documentation for this class was generated from the following file: