2007-05-22 09:31:40 +00:00
|
|
|
<!-- ##### 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>
|
2007-06-01 10:00:35 +00:00
|
|
|
Macro for converting from device units to #ClutterUnit.
|
2007-05-22 09:31:40 +00:00
|
|
|
</para>
|
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
@x: int
|
2007-05-22 09:31:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_FIXED ##### -->
|
|
|
|
<para>
|
2007-06-01 10:00:35 +00:00
|
|
|
Macro for converting from #ClutterFixed pixels to #ClutterUnit.
|
2007-05-22 09:31:40 +00:00
|
|
|
</para>
|
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
@x: #ClutterFixed
|
2007-05-22 09:31:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_FLOAT ##### -->
|
|
|
|
<para>
|
2007-06-01 10:00:35 +00:00
|
|
|
Macro for converting from floating point pixels to #ClutterUnit.
|
2007-05-22 09:31:40 +00:00
|
|
|
</para>
|
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
@x: float
|
2007-05-22 09:31:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_INT ##### -->
|
|
|
|
<para>
|
2007-06-01 10:00:35 +00:00
|
|
|
Macro for converting from pixels to #ClutterUnit.
|
2007-05-22 09:31:40 +00:00
|
|
|
</para>
|
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
@x: int
|
2007-05-22 09:31:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_PANGO_UNIT ##### -->
|
|
|
|
<para>
|
2007-06-01 10:00:35 +00:00
|
|
|
Macro for converting from Pango units to #ClutterUnit.
|
2007-05-22 09:31:40 +00:00
|
|
|
</para>
|
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
@x: int
|
2007-05-22 09:31:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TMP_FROM_DEVICE ##### -->
|
|
|
|
<para>
|
2007-06-01 10:00:35 +00:00
|
|
|
Macro to ease furture transition #ClutterUnit-based API.
|
2007-05-22 09:31:40 +00:00
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
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.
|
2007-05-22 09:31:40 +00:00
|
|
|
</para>
|
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
@x: int
|
2007-05-22 09:31:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TMP_TO_DEVICE ##### -->
|
|
|
|
<para>
|
2007-06-01 10:00:35 +00:00
|
|
|
Macro to ease furture transition #ClutterUnit-based API.
|
2007-05-22 09:31:40 +00:00
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
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.
|
2007-05-22 09:31:40 +00:00
|
|
|
</para>
|
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
@x: int
|
2007-05-22 09:31:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TO_DEVICE ##### -->
|
|
|
|
<para>
|
2007-06-01 10:00:35 +00:00
|
|
|
Macro for conversion from #ClutterUnit values to device unit (currently
|
|
|
|
pixels).
|
2007-05-22 09:31:40 +00:00
|
|
|
</para>
|
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
@x: #ClutterUnit
|
2007-05-22 09:31:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TO_FIXED ##### -->
|
|
|
|
<para>
|
2007-06-01 10:00:35 +00:00
|
|
|
Macro for conversion of #ClutterUnit value to #ClutterFixed pixel value.
|
2007-05-22 09:31:40 +00:00
|
|
|
</para>
|
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
@x: #ClutterUnit
|
2007-05-22 09:31:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TO_FLOAT ##### -->
|
|
|
|
<para>
|
2007-06-01 10:00:35 +00:00
|
|
|
Macro for conversion of #ClutterUnit value to floating point pixel value.
|
2007-05-22 09:31:40 +00:00
|
|
|
</para>
|
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
@x: #ClutterUnit
|
2007-05-22 09:31:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO CLUTTER_UNITS_TO_INT ##### -->
|
|
|
|
<para>
|
2007-06-01 10:00:35 +00:00
|
|
|
Macro for conversion of #ClutterUnit value to int pixel value.
|
2007-05-22 09:31:40 +00:00
|
|
|
</para>
|
|
|
|
|
2007-06-01 10:00:35 +00:00
|
|
|
@x: #ClutterUnit
|
2007-05-22 09:31:40 +00:00
|
|
|
|
|
|
|
|