mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
119 lines
2.3 KiB
Plaintext
119 lines
2.3 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
Clutter Units
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_DEVICE ##### -->
|
|
<para>
|
|
Macro for converting from device units to #ClutterUnit.
|
|
</para>
|
|
|
|
@x: int
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_FIXED ##### -->
|
|
<para>
|
|
Macro for converting from #ClutterFixed pixels to #ClutterUnit.
|
|
</para>
|
|
|
|
@x: #ClutterFixed
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_FLOAT ##### -->
|
|
<para>
|
|
Macro for converting from floating point pixels to #ClutterUnit.
|
|
</para>
|
|
|
|
@x: float
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_INT ##### -->
|
|
<para>
|
|
Macro for converting from pixels to #ClutterUnit.
|
|
</para>
|
|
|
|
@x: int
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_PANGO_UNIT ##### -->
|
|
<para>
|
|
Macro for converting from Pango units to #ClutterUnit.
|
|
</para>
|
|
|
|
@x: int
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TMP_FROM_DEVICE ##### -->
|
|
<para>
|
|
Macro to ease furture transition #ClutterUnit-based API.
|
|
|
|
This is presently an identity macro, that can be used around integer pixel
|
|
values passed into clutter functions. When the API is changed to use
|
|
#ClutterUnit, this macro will be modified to carry out pixel -> #ClutterUnit
|
|
conversion.
|
|
</para>
|
|
|
|
@x: int
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TMP_TO_DEVICE ##### -->
|
|
<para>
|
|
Macro to ease furture transition #ClutterUnit-based API.
|
|
|
|
This is presently an identity macro, that can be used around integer pixel
|
|
values return from clutter functions. When the API is changed to return
|
|
#ClutterUnit, this macro will be modified to carry out #ClutterUnit ->
|
|
pixel conversion.
|
|
</para>
|
|
|
|
@x: int
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TO_DEVICE ##### -->
|
|
<para>
|
|
Macro for conversion from #ClutterUnit values to device unit (currently
|
|
pixels).
|
|
</para>
|
|
|
|
@x: #ClutterUnit
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TO_FIXED ##### -->
|
|
<para>
|
|
Macro for conversion of #ClutterUnit value to #ClutterFixed pixel value.
|
|
</para>
|
|
|
|
@x: #ClutterUnit
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TO_FLOAT ##### -->
|
|
<para>
|
|
Macro for conversion of #ClutterUnit value to floating point pixel value.
|
|
</para>
|
|
|
|
@x: #ClutterUnit
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TO_INT ##### -->
|
|
<para>
|
|
Macro for conversion of #ClutterUnit value to int pixel value.
|
|
</para>
|
|
|
|
@x: #ClutterUnit
|
|
|
|
|