mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
Documentation updates
This commit is contained in:
parent
ccc1494f6d
commit
e1a8434d64
@ -1,3 +1,12 @@
|
|||||||
|
2007-06-01 Tomas Frydrych <tf@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-fixed.h:
|
||||||
|
* clutter/clutter-behaviour-ellipse.h:
|
||||||
|
* clutter/clutter-behaviour-ellipse.c:
|
||||||
|
* clutter/clutter-behaviour-bspline.h:
|
||||||
|
* clutter/clutter-behaviour-bspline.c:
|
||||||
|
Documentation fixes.
|
||||||
|
|
||||||
2007-05-31 Tomas Frydrych <tf@openedhand.com>
|
2007-05-31 Tomas Frydrych <tf@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-stage.c:
|
* clutter/clutter-stage.c:
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* @short_description: A behaviour class interpolating actors along a path
|
* @short_description: A behaviour class interpolating actors along a path
|
||||||
* defined by bezier spline.
|
* defined by bezier spline.
|
||||||
*
|
*
|
||||||
* #ClutterBehaviourBspline interpolates actors along a defined bsplien path.
|
* #ClutterBehaviourBspline interpolates actors along a defined bspline path.
|
||||||
*
|
*
|
||||||
* A bezier spline is a set of cubic bezier curves defined by a sequence of
|
* A bezier spline is a set of cubic bezier curves defined by a sequence of
|
||||||
* control points given when creating a new #ClutterBehaviourBspline instance.
|
* control points given when creating a new #ClutterBehaviourBspline instance.
|
||||||
|
@ -61,8 +61,6 @@ typedef struct _ClutterBehaviourBsplineClass ClutterBehaviourBsplineClass;
|
|||||||
struct _ClutterBehaviourBspline
|
struct _ClutterBehaviourBspline
|
||||||
{
|
{
|
||||||
ClutterBehaviour parent_instance;
|
ClutterBehaviour parent_instance;
|
||||||
|
|
||||||
/*< private >*/
|
|
||||||
ClutterBehaviourBsplinePrivate *priv;
|
ClutterBehaviourBsplinePrivate *priv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* @short_description: elliptic path behaviour.
|
* @short_description: elliptic path behaviour.
|
||||||
*
|
*
|
||||||
* #ClutterBehaviourEllipse interpolates actors along a path defined by
|
* #ClutterBehaviourEllipse interpolates actors along a path defined by
|
||||||
* en ellipse.
|
* an ellipse.
|
||||||
*
|
*
|
||||||
* Since: 0.4
|
* Since: 0.4
|
||||||
*/
|
*/
|
||||||
@ -540,7 +540,7 @@ clutter_behaviour_ellipse_set_width (ClutterBehaviourEllipse * self,
|
|||||||
*
|
*
|
||||||
* Gets the width of the elliptical path.
|
* Gets the width of the elliptical path.
|
||||||
*
|
*
|
||||||
* Return: the width of the path
|
* Return value: the width of the path
|
||||||
*
|
*
|
||||||
* Since: 0.4
|
* Since: 0.4
|
||||||
*/
|
*/
|
||||||
@ -670,7 +670,7 @@ clutter_behaviour_ellipse_get_angle_end (ClutterBehaviourEllipse * self)
|
|||||||
/**
|
/**
|
||||||
* clutter_behaviour_ellipse_set_angle_tilt
|
* clutter_behaviour_ellipse_set_angle_tilt
|
||||||
* @self: a #ClutterBehaviourEllipse
|
* @self: a #ClutterBehaviourEllipse
|
||||||
* @angle_end: #ClutterAngle tilt of the elipse around the center
|
* @angle_tilt: #ClutterAngle tilt of the elipse around the center
|
||||||
*
|
*
|
||||||
* Sets the angle at which the ellipse should be tilted around it's center.
|
* Sets the angle at which the ellipse should be tilted around it's center.
|
||||||
*
|
*
|
||||||
|
@ -61,8 +61,6 @@ typedef struct _ClutterBehaviourEllipseClass ClutterBehaviourEllipseClass;
|
|||||||
struct _ClutterBehaviourEllipse
|
struct _ClutterBehaviourEllipse
|
||||||
{
|
{
|
||||||
ClutterBehaviour parent_instance;
|
ClutterBehaviour parent_instance;
|
||||||
|
|
||||||
/*< private >*/
|
|
||||||
ClutterBehaviourEllipsePrivate *priv;
|
ClutterBehaviourEllipsePrivate *priv;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -86,7 +84,7 @@ ClutterBehaviour *clutter_behaviour_ellipse_new (ClutterAlpha
|
|||||||
gint y,
|
gint y,
|
||||||
gint width,
|
gint width,
|
||||||
gint height,
|
gint height,
|
||||||
gdouble start,
|
gdouble begin,
|
||||||
gdouble end,
|
gdouble end,
|
||||||
gdouble tilt);
|
gdouble tilt);
|
||||||
|
|
||||||
@ -95,7 +93,7 @@ ClutterBehaviour *clutter_behaviour_ellipse_newx (ClutterAlpha
|
|||||||
gint y,
|
gint y,
|
||||||
gint width,
|
gint width,
|
||||||
gint height,
|
gint height,
|
||||||
ClutterFixed start,
|
ClutterFixed begin,
|
||||||
ClutterFixed end,
|
ClutterFixed end,
|
||||||
ClutterFixed tilt);
|
ClutterFixed tilt);
|
||||||
|
|
||||||
@ -103,7 +101,7 @@ void clutter_behaviour_ellipse_set_center (ClutterBehaviourEll
|
|||||||
gint x,
|
gint x,
|
||||||
gint y);
|
gint y);
|
||||||
|
|
||||||
void clutter_behaviour_ellipse_get_center (ClutterBehaviourEllipse * bs,
|
void clutter_behaviour_ellipse_get_center (ClutterBehaviourEllipse * self,
|
||||||
gint * x,
|
gint * x,
|
||||||
gint * y);
|
gint * y);
|
||||||
|
|
||||||
|
@ -76,13 +76,13 @@ typedef gint32 ClutterAngle; /* angle such that 1024 == 2*PI */
|
|||||||
*/
|
*/
|
||||||
#define CFX_2PI 0x0006487f
|
#define CFX_2PI 0x0006487f
|
||||||
/**
|
/**
|
||||||
* CFX_PI2:
|
* CFX_PI_2:
|
||||||
*
|
*
|
||||||
* Fixed point representation of Pi/2
|
* Fixed point representation of Pi/2
|
||||||
*/
|
*/
|
||||||
#define CFX_PI_2 0x00019220 /* pi/2 */
|
#define CFX_PI_2 0x00019220 /* pi/2 */
|
||||||
/**
|
/**
|
||||||
* CFX_PI4:
|
* CFX_PI_4:
|
||||||
*
|
*
|
||||||
* Fixed point representation of Pi/4
|
* Fixed point representation of Pi/4
|
||||||
*/
|
*/
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
2007-06-01 Tomas Frydrych <tf@openedhand.com>
|
||||||
|
|
||||||
|
* tmpl/clutter-alpha.sgml:
|
||||||
|
* tmpl/clutter-fixed.sgml:
|
||||||
|
* tmpl/clutter-units.sgml:
|
||||||
|
* tmpl/clutter-behaviour-rotate.sgml:
|
||||||
|
* tmpl/clutter-behaviour-bspline.sgml:
|
||||||
|
* tmpl/clutter-behaviour-ellipse.sgml:
|
||||||
|
Updated templates.
|
||||||
|
|
||||||
2007-05-31 Neil J Patel <njp@o-hand.com>
|
2007-05-31 Neil J Patel <njp@o-hand.com>
|
||||||
|
|
||||||
* clutter-docs.sgml:
|
* clutter-docs.sgml:
|
||||||
|
@ -36,7 +36,7 @@ accessed directly.
|
|||||||
|
|
||||||
<!-- ##### STRUCT ClutterAlphaClass ##### -->
|
<!-- ##### STRUCT ClutterAlphaClass ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Class structure for #ClutterApha.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@parent_class:
|
@parent_class:
|
||||||
@ -193,7 +193,7 @@ Symbolic name for passing clutter_sine_func().
|
|||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_ALPHA_SINE_INC ##### -->
|
<!-- ##### MACRO CLUTTER_ALPHA_SINE_INC ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Symbolic name for passing clutter_sine_inc_func().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ Symbolic name for passing clutter_sine_func().
|
|||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_ALPHA_SINE_DEC ##### -->
|
<!-- ##### MACRO CLUTTER_ALPHA_SINE_DEC ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Symbolic name for passing clutter_sine_dec_func().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
@ -227,7 +227,7 @@ Symbolic name for passing clutter_sine_func().
|
|||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_ALPHA_SINE_HALF ##### -->
|
<!-- ##### MACRO CLUTTER_ALPHA_SINE_HALF ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Symbolic name for passing clutter_sine_hav_func().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
@ -244,7 +244,7 @@ Symbolic name for passing clutter_sine_func().
|
|||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_ALPHA_SQUARE ##### -->
|
<!-- ##### MACRO CLUTTER_ALPHA_SQUARE ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Symbolic name for passing clutter_square_func().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
@ -261,7 +261,7 @@ Symbolic name for passing clutter_sine_func().
|
|||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_ALPHA_EXP_INC ##### -->
|
<!-- ##### MACRO CLUTTER_ALPHA_EXP_INC ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Symbolic name for passing clutter_exp_inc_func().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
@ -278,7 +278,7 @@ Symbolic name for passing clutter_sine_func().
|
|||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_ALPHA_EXP_DEC ##### -->
|
<!-- ##### MACRO CLUTTER_ALPHA_EXP_DEC ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Symbolic name for passing clutter_exp_dec_func().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,8 @@ ClutterBehaviourBspline
|
|||||||
|
|
||||||
<!-- ##### STRUCT ClutterBehaviourBspline ##### -->
|
<!-- ##### STRUCT ClutterBehaviourBspline ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
The <structname>ClutterBehaviourBspline</structname> structure contains
|
||||||
|
only private data, and should not be accessed directly.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
@ -33,7 +34,7 @@ ClutterBehaviourBspline
|
|||||||
|
|
||||||
<!-- ##### STRUCT ClutterBehaviourBsplineClass ##### -->
|
<!-- ##### STRUCT ClutterBehaviourBsplineClass ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Class structure for #ClutterBehaviouBspline.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@parent_class:
|
@parent_class:
|
||||||
|
@ -19,7 +19,8 @@ ClutterBehaviourEllipse
|
|||||||
|
|
||||||
<!-- ##### STRUCT ClutterBehaviourEllipse ##### -->
|
<!-- ##### STRUCT ClutterBehaviourEllipse ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
The <structname>ClutterBehaviourEllipse</structname> structure contains
|
||||||
|
only private data, and should not be accessed directly.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
@ -55,7 +56,7 @@ ClutterBehaviourEllipse
|
|||||||
|
|
||||||
<!-- ##### STRUCT ClutterBehaviourEllipseClass ##### -->
|
<!-- ##### STRUCT ClutterBehaviourEllipseClass ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Class structure for #ClutterBehaviourEllipse.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@parent_class:
|
@parent_class:
|
||||||
@ -75,7 +76,7 @@ ClutterBehaviourEllipse
|
|||||||
@y:
|
@y:
|
||||||
@width:
|
@width:
|
||||||
@height:
|
@height:
|
||||||
@start:
|
@begin:
|
||||||
@end:
|
@end:
|
||||||
@tilt:
|
@tilt:
|
||||||
@Returns:
|
@Returns:
|
||||||
@ -96,7 +97,7 @@ ClutterBehaviourEllipse
|
|||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@bs:
|
@self:
|
||||||
@x:
|
@x:
|
||||||
@y:
|
@y:
|
||||||
|
|
||||||
|
@ -36,7 +36,8 @@ ClutterBehaviourRotate
|
|||||||
|
|
||||||
<!-- ##### STRUCT ClutterBehaviourRotate ##### -->
|
<!-- ##### STRUCT ClutterBehaviourRotate ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
The <structname>ClutterBehaviourRotate</structname> structure contains
|
||||||
|
only private data, and should not be accessed directly.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
@ -62,7 +63,7 @@ ClutterBehaviourRotate
|
|||||||
|
|
||||||
<!-- ##### STRUCT ClutterBehaviourRotateClass ##### -->
|
<!-- ##### STRUCT ClutterBehaviourRotateClass ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Class structure for #ClutterBehaviourRotate.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@parent_class:
|
@parent_class:
|
||||||
|
@ -206,10 +206,11 @@ Macro for converting floating point numbers to #ClutterFixed.
|
|||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_FLOAT_TO_INT ##### -->
|
<!-- ##### MACRO CLUTTER_FLOAT_TO_INT ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Macro for converting floating point numbers to intergers; this conversion
|
||||||
|
is significantly faster that casting floats to int.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: float
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_INT_TO_FIXED ##### -->
|
<!-- ##### MACRO CLUTTER_INT_TO_FIXED ##### -->
|
||||||
|
@ -19,89 +19,100 @@ Clutter Units
|
|||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_UNITS_FROM_DEVICE ##### -->
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_DEVICE ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Macro for converting from device units to #ClutterUnit.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: int
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_UNITS_FROM_FIXED ##### -->
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_FIXED ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Macro for converting from #ClutterFixed pixels to #ClutterUnit.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: #ClutterFixed
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_UNITS_FROM_FLOAT ##### -->
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_FLOAT ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Macro for converting from floating point pixels to #ClutterUnit.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: float
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_UNITS_FROM_INT ##### -->
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_INT ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Macro for converting from pixels to #ClutterUnit.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: int
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_UNITS_FROM_PANGO_UNIT ##### -->
|
<!-- ##### MACRO CLUTTER_UNITS_FROM_PANGO_UNIT ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Macro for converting from Pango units to #ClutterUnit.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: int
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_UNITS_TMP_FROM_DEVICE ##### -->
|
<!-- ##### MACRO CLUTTER_UNITS_TMP_FROM_DEVICE ##### -->
|
||||||
<para>
|
<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>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: int
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_UNITS_TMP_TO_DEVICE ##### -->
|
<!-- ##### MACRO CLUTTER_UNITS_TMP_TO_DEVICE ##### -->
|
||||||
<para>
|
<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>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: int
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_UNITS_TO_DEVICE ##### -->
|
<!-- ##### MACRO CLUTTER_UNITS_TO_DEVICE ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Macro for conversion from #ClutterUnit values to device unit (currently
|
||||||
|
pixels).
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: #ClutterUnit
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_UNITS_TO_FIXED ##### -->
|
<!-- ##### MACRO CLUTTER_UNITS_TO_FIXED ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Macro for conversion of #ClutterUnit value to #ClutterFixed pixel value.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: #ClutterUnit
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_UNITS_TO_FLOAT ##### -->
|
<!-- ##### MACRO CLUTTER_UNITS_TO_FLOAT ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Macro for conversion of #ClutterUnit value to floating point pixel value.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: #ClutterUnit
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CLUTTER_UNITS_TO_INT ##### -->
|
<!-- ##### MACRO CLUTTER_UNITS_TO_INT ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Macro for conversion of #ClutterUnit value to int pixel value.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@x:
|
@x: #ClutterUnit
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user