4e765d1a34
* clutter/clutter-feature.c: Use clutter_vblank_method() to get the VBlank method name from the environment variable OR the command line switch. (clutter_feature_do_init): Move the check on the features state here, to avoid an expensive function call, and inline the function. * clutter/clutter-fixed.c: Fix gtk-doc. * clutter/clutter-main.c: Add a --clutter-vblank command line switch controlling the VBlank method to be used: it overrides the CLUTTER_VBLANK environment variable. (pre_parse_hook), (clutter_init), (clutter_init_with_args): Move thread initialisation before type init, to avoid the warning that comes with newer GLib versions. * clutter/clutter-group.h: * clutter/clutter-group.c: Mark clutter_group_show_all() and clutter_group_hide_all() as deprecated.
281 lines
2.7 KiB
Plaintext
281 lines
2.7 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
clutter-fixed
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Fixed point API
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
Clutter has a fixed point API targeted at platforms without a floating
|
|
point unit, such as embedded devices. This API should be preferred to
|
|
the floating point one as it does not trigger the slow path of software
|
|
emulation, relying on integer math for fixed-to-floating and
|
|
floating-to-fixed conversion.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### TYPEDEF ClutterFixed ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### MACRO CFX_Q ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_ONE ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_MAX ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_MIN ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### TYPEDEF ClutterAngle ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### MACRO CFX_PI ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_2PI ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_PI_2 ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_PI_4 ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_PI8192 ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_120 ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_180 ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_240 ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_360 ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_60 ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_DIV ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_INT ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO CFX_MUL ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_color_shadex ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@src:
|
|
@dest:
|
|
@shade:
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_FIXED_TO_FLOAT ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_FIXED_TO_DOUBLE ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_FLOAT_TO_FIXED ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_INT_TO_FIXED ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_FIXED_INT ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_FIXED_FRACTION ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_FIXED_FLOOR ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_FIXED_CEIL ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_FIXED_MUL ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
@y:
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_FIXED_DIV ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
@y:
|
|
|
|
|
|
<!-- ##### MACRO clutter_fixed_cos ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_fixed_sin ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@angle:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### MACRO clutter_angle_cos ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_angle_sin ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@angle:
|
|
@Returns:
|
|
|
|
|