diff options
author | Havoc Pennington <hp@pobox.com> | 2001-04-17 01:49:07 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-04-17 01:49:07 +0000 |
commit | d17adb44478e516b207b25afc1d6e87d5d274c96 (patch) | |
tree | a0f7dbe8d01a582dc867406996577b118ab87d0f /pango/pango-layout.c | |
parent | 230cda5893ca4948e97f5556b52f23131279953f (diff) | |
download | pango-d17adb44478e516b207b25afc1d6e87d5d274c96.tar.gz |
Removed pango_justify(), since it has no implementation that I can find.
2001-04-16 Havoc Pennington <hp@pobox.com>
* pango/pango-glyph.h: Removed pango_justify(), since it has no
implementation that I can find.
* pango/pango-attributes.c: docs
* pango/pango-layout.c: docs
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r-- | pango/pango-layout.c | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 3a58860a..dc92dd8f 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -446,15 +446,15 @@ pango_layout_get_indent (PangoLayout *layout) } /** - * pango_layout_set_indent + * pango_layout_set_spacing: * @layout: a #PangoLayout. - * @indent: the amount of spacing + * @spacing: the amount of spacing * * Sets the amount of spacing between the lines of the layout. **/ void pango_layout_set_spacing (PangoLayout *layout, - int spacing) + int spacing) { g_return_if_fail (layout != NULL); @@ -508,7 +508,7 @@ pango_layout_set_attributes (PangoLayout *layout, * pango_layout_get_attributes: * @layout: a #PangoLayout * - * Returns the attribute list for the layout, if any + * Gets the attribute list for the layout, if any * * Return value: a #PangoAttrList **/ @@ -743,6 +743,16 @@ pango_layout_get_text (PangoLayout *layout) return layout->text; } +/** + * pango_layout_set_markup: + * @layout: a #PangoLayout + * @markup: marked-up text + * @length: length of marked-up text in bytes, or -1 + * + * Same as pango_layout_set_markup_with_accel(), but + * the markup text isn't scanned for accelerators. + * + **/ void pango_layout_set_markup (PangoLayout *layout, const char *markup, @@ -2814,8 +2824,8 @@ pango_layout_line_unref (PangoLayoutLine *line) * character within the text of the layout. If @x_pos is outside the line, * the start or end of the line will be stored at @index. * - * Return value: %FALSE if @x_pos was outside the line, %TRUE if inside - */ + * Returns: %FALSE if @x_pos was outside the line, %TRUE if inside + **/ gboolean pango_layout_line_x_to_index (PangoLayoutLine *line, int x_pos, |