diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2005-11-17 04:56:14 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2005-11-17 04:56:14 +0000 |
commit | e1cfe6720d1fea7aa47882a31656b24da2a7380f (patch) | |
tree | b28a047334662aa1317e312c3a10fbedab6e5a2a /pango/pango-attributes.c | |
parent | 2e44c9c2b46b896dfa867b749702e483eda0c3c1 (diff) | |
download | pango-e1cfe6720d1fea7aa47882a31656b24da2a7380f.tar.gz |
Various documentation improvements.
2005-11-16 Behdad Esfahbod <behdad@gnome.org>
* docs/pango_markup.sgml docs/tmpl/coverage-maps.sgml
docs/tmpl/engines.sgml docs/tmpl/fonts.sgml
docs/tmpl/freetype-fonts.sgml docs/tmpl/glyphs.sgml
docs/tmpl/layout.sgml docs/tmpl/main.sgml
docs/tmpl/modules.sgml docs/tmpl/opentype.sgml
docs/tmpl/pango-engine-lang.sgml
docs/tmpl/pango-engine-shape.sgml
docs/tmpl/pango-renderer.sgml docs/tmpl/pangocairo.sgml
docs/tmpl/pangofc-decoder.sgml docs/tmpl/pangofc-font.sgml
docs/tmpl/pangofc-fontmap.sgml docs/tmpl/scripts.sgml
docs/tmpl/tab-stops.sgml docs/tmpl/text-attributes.sgml
docs/tmpl/win32-fonts.sgml docs/tmpl/x-fonts.sgml
docs/tmpl/xft-fonts.sgml pango/break.c pango/ellipsize.c
pango/fonts.c pango/pango-attributes.c pango/pango-color.c
pango/pango-context.c pango/pango-coverage.c
pango/pango-fontmap.c pango/pango-glyph-item.c
pango/pango-layout.c pango/pango-markup.c pango/pango-tabs.c
pango/pango-types.h pango/pango-utils.c
pango/pangoft2-render.c pango/pangox.c pango/pangoxft-render.c:
Various documentation improvements.
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r-- | pango/pango-attributes.c | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index c4b8cd93..7af76c06 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -72,11 +72,11 @@ pango_attr_type_register (const gchar *name) /** * pango_attribute_copy: - * @attr: a #PangoAttribute. + * @attr: a #PangoAttribute * * Make a copy of an attribute. * - * Return value: a newly allocated #PangoAttribute. + * Return value: the new #PangoAttribute. **/ PangoAttribute * pango_attribute_copy (const PangoAttribute *attr) @@ -595,13 +595,13 @@ pango_attr_font_desc_equal (const PangoAttribute *attr1, /** * pango_attr_font_desc_new: - * @desc: + * @desc: the font description * - * Create a new font description attribute. (This attribute + * Create a new font description attribute. This attribute * allows setting family, style, weight, variant, stretch, - * and size simultaneously.) + * and size simultaneously. * - * Return value: + * Return value: the new #PangoAttribute. **/ PangoAttribute * pango_attr_font_desc_new (const PangoFontDescription *desc) @@ -625,7 +625,7 @@ pango_attr_font_desc_new (const PangoFontDescription *desc) * pango_attr_underline_new: * @underline: the underline style. * - * Create a new underline-style object. + * Create a new underline-style attribute. * * Return value: the new #PangoAttribute. **/ @@ -673,7 +673,7 @@ pango_attr_underline_color_new (guint16 red, * pango_attr_strikethrough_new: * @strikethrough: %TRUE if the text should be struck-through. * - * Create a new font strike-through attribute. + * Create a new strike-through attribute. * * Return value: the new #PangoAttribute. **/ @@ -859,19 +859,19 @@ pango_attr_shape_equal (const PangoAttribute *attr1, /** * pango_attr_shape_new_with_data: * @ink_rect: ink rectangle to assign to each character - * @logical_rect: logical rectangle assign to each character + * @logical_rect: logical rectangle to assign to each character * @data: user data pointer * @copy_func: function to copy @data when the attribute * is copied. If %NULL, @data is simply copied * as a pointer. * @destroy_func: function to free @data when the attribute - * is freed, or %NULL. + * is freed, or %NULL * * Like pango_attr_shape_new(), but a user data pointer is also - * provided; this pointer can be accessed when rendering later + * provided; this pointer can be accessed when later * rendering the glyph. * - * Return value: the newly created attribute + * Return value: the new #PangoAttribute. * * Since: 1.8 **/ @@ -908,14 +908,14 @@ pango_attr_shape_new_with_data (const PangoRectangle *ink_rect, /** * pango_attr_shape_new: * @ink_rect: ink rectangle to assign to each character - * @logical_rect: logical rectangle assign to each character + * @logical_rect: logical rectangle to assign to each character * * Create a new shape attribute. A shape is used to impose a * particular ink and logical rect on the result of shaping a * particular glyph. This might be used, for instance, for * embedding a picture or a widget inside a PangoLayout. * - * Return value: the newly created attribute + * Return value: the new #PangoAttribute **/ PangoAttribute * pango_attr_shape_new (const PangoRectangle *ink_rect, @@ -946,7 +946,7 @@ pango_attr_list_get_type (void) * * Create a new empty attribute list with a reference count of 1. * - * Return value: the newly allocated #PangoAttrList. + * Return value: new #PangoAttrList. **/ PangoAttrList * pango_attr_list_new (void) @@ -966,7 +966,9 @@ pango_attr_list_new (void) * * Increase the reference count of the given attribute list by one. * - * Return value: The attribute list passed in (since 1.10) + * Return value: The attribute list passed in + * + * Since: 1.10 **/ PangoAttrList * pango_attr_list_ref (PangoAttrList *list) @@ -1618,7 +1620,7 @@ pango_attr_iterator_get (PangoAttrIterator *iterator, * @iterator: a #PangoAttrIterator * @desc: a #PangoFontDescription to fill in with the current values. * The family name in this structure will be set using - * pango_font_description_set_family_static using values from + * pango_font_description_set_family_static() using values from * an attribute in the #PangoAttrList associated with the iterator, * so if you plan to keep it around, you must call: * <literal>pango_font_description_set_family (desc, pango_font_description_get_family (desc))</literal>. @@ -1778,7 +1780,7 @@ pango_attr_iterator_get_font (PangoAttrIterator *iterator, * of @list for which @func returns %TRUE and inserts them into * a new list. * - * Return value: a newly allocated #PangoAttrList or %NULL if + * Return value: the new #PangoAttrList or %NULL if * no attributes of the given types were found. **/ PangoAttrList * |