diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-20 10:02:05 -0700 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-20 11:56:18 -0700 |
commit | e8f20b6116cca605115b42d5e0a15112193a3bad (patch) | |
tree | 5e919440c09e87e2a02f53b40d619b5d4efb318c /pango/pango-break.h | |
parent | eb4882cada397268948ec24da046ff75615dfb9e (diff) | |
download | pango-e8f20b6116cca605115b42d5e0a15112193a3bad.tar.gz |
Add an offset argument to pango_tailor_break
Without this, it is not possible to interpret
attributes, whose offsets are relative to the
beginning of the paragraph.
Diffstat (limited to 'pango/pango-break.h')
-rw-r--r-- | pango/pango-break.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pango/pango-break.h b/pango/pango-break.h index 4e1db0bc..19698db1 100644 --- a/pango/pango-break.h +++ b/pango/pango-break.h @@ -134,9 +134,10 @@ void pango_default_break (const gchar *text, int attrs_len); PANGO_AVAILABLE_IN_1_44 -void pango_tailor_break (const gchar *text, - int length, +void pango_tailor_break (const char *text, + int length, PangoAnalysis *analysis, + int offset, PangoLogAttr *attrs, int attrs_len); |