This commit is contained in:
Emmanuele Bassi 2007-12-24 16:24:26 +00:00
parent 87a9232d8a
commit 09a2f0733a
4 changed files with 45 additions and 23 deletions

View File

@ -1,3 +1,10 @@
2007-12-24 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-stage.c:
* clutter/clutter-stage.h:
* clutter/clutter-texture.c: Remove some of the remaining FIXMEs
in the API documentation
2007-12-24 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-24 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-color.c: * clutter/clutter-color.c:

View File

@ -568,10 +568,13 @@ clutter_stage_get_perspectivex (ClutterStage *stage,
/** /**
* clutter_stage_set_perspective * clutter_stage_set_perspective
* @stage: A #ClutterStage * @stage: A #ClutterStage
* @fovy: FIXME * @fovy: the field of view angle, in degrees, in the y direction
* @aspect: FIXME * @aspect: the aspect ratio that determines the field of view in the x
* @z_near: FIXME * direction. The aspect ratio is the ratio of x (width) to y (height)
* @z_far: FIXME * @z_near: the distance from the viewer to the near clipping
* plane (always positive)
* @z_far: the distance from the viewer to the far clipping
* plane (always positive)
* *
* Set the stage perspective. * Set the stage perspective.
* *
@ -601,12 +604,16 @@ clutter_stage_set_perspective (ClutterStage *stage,
/** /**
* clutter_stage_get_perspective * clutter_stage_get_perspective
* @stage: A #ClutterStage * @stage: A #ClutterStage
* @fovy: FIXME * @fovy: return location for the field of view, in degrees, or %NULL
* @aspect: FIXME * @aspect: return location for the aspect ratio, or %NULL
* @z_near: FIXME * @z_near: return location for the distance of the viewer from the
* @z_far: FIXME * near clipping plane, or %NULL
* @z_far: return location for the distance of the viewer from the
* far clipping plane, or %NULL
* *
* Retrieves the stage perspective. * Retrieves the stage perspective.
*
* Since: 0.4
*/ */
void void
clutter_stage_get_perspective (ClutterStage *stage, clutter_stage_get_perspective (ClutterStage *stage,

View File

@ -116,12 +116,16 @@ struct _ClutterStageClass
/** /**
* ClutterPerspective: * ClutterPerspective:
* @fovy: FIXME * @fovy: the field of view angle, in degrees, in the y direction
* @aspect: FIXME * @aspect: the aspect ratio that determines the field of view in the x
* @z_near: FIXME * direction. The aspect ratio is the ratio of x (width) to y (height)
* @z_far: FIXME * @z_near: the distance from the viewer to the near clipping
* plane (always positive)
* @z_far: the distance from the viewer to the far clipping
* plane (always positive)
* *
* Stage perspective definition. * Stage perspective definition. #ClutterPerspective is only used by
* the fixed point version of clutter_stage_set_perspective().
* *
* Since: 0.4 * Since: 0.4
*/ */
@ -136,11 +140,13 @@ struct _ClutterPerspective
/** /**
* ClutterFog: * ClutterFog:
* @density: density of the fog * @density: density of the fog
* @z_near: start point of the depth cueing * @z_near: starting distance from the viewer to the near clipping
* @z_far: end point of the depth cueing * plane (always positive)
* @z_far: final distance from the viewer to the far clipping
* plane (always positive)
* *
* Fog settings used to create the depth cueing effect. This * Fog settings used to create the depth cueing effect. #ClutterFox is
* structure is useful only when using the fixed point API. * useful only when using the fixed point API.
* *
* Since: 0.6 * Since: 0.6
*/ */

View File

@ -1330,13 +1330,15 @@ texture_prepare_upload (gboolean initialize,
* @rowstride: Distance in bytes between row starts. * @rowstride: Distance in bytes between row starts.
* @bpp: bytes per pixel ( Currently only 4 supported ) * @bpp: bytes per pixel ( Currently only 4 supported )
* @flags: #ClutterTextureFlags * @flags: #ClutterTextureFlags
* @error: FIXME. * @error: return location for a #GError, or %NULL.
* *
* Sets #ClutterTexture image data. * Sets #ClutterTexture image data.
* *
* Return value: TRUE on success, FALSE on failure. * Note: This function is likely to change in future versions.
* *
* Since 0.4. This function is likely to change in future versions. * Return value: %TRUE on success, %FALSE on failure.
*
* Since: 0.4.
**/ **/
gboolean gboolean
clutter_texture_set_from_rgb_data (ClutterTexture *texture, clutter_texture_set_from_rgb_data (ClutterTexture *texture,
@ -2020,14 +2022,14 @@ texture_update_data (ClutterTexture *texture,
* @rowstride: Distance in bytes between row starts. * @rowstride: Distance in bytes between row starts.
* @bpp: bytes per pixel ( Currently only 4 supported ) * @bpp: bytes per pixel ( Currently only 4 supported )
* @flags: #ClutterTextureFlags * @flags: #ClutterTextureFlags
* @error: FIXME. * @error: return location for a #GError, or %NULL
* *
* Updates a subregion of the pixel data in a #ClutterTexture. * Updates a subregion of the pixel data in a #ClutterTexture.
* *
* Return value: TRUE on success, FALSE on failure. * Return value: %TRUE on success, %FALSE on failure.
* *
* Since 0.6. * Since 0.6.
**/ */
gboolean gboolean
clutter_texture_set_area_from_rgb_data (ClutterTexture *texture, clutter_texture_set_area_from_rgb_data (ClutterTexture *texture,
const guchar *data, const guchar *data,