diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/ChangeLog | 5 | ||||
-rw-r--r-- | docs/reference/gdk-pixbuf/tmpl/module_interface.sgml | 15 |
2 files changed, 15 insertions, 5 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index a423a0e2a..0fc148de1 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2005-07-22 Matthias Clasen <mclasen@redhat.com> + + * gdk-pixbuf/tmpl/module_interface.sgml: Document unanchored + patterns. + 2005-07-21 Federico Mena Quintero <federico@ximian.com> * gtk/tmpl/gtkfilechooserdialog.sgml (dialog): Expand the Save diff --git a/docs/reference/gdk-pixbuf/tmpl/module_interface.sgml b/docs/reference/gdk-pixbuf/tmpl/module_interface.sgml index ac12c39e3..e06b0d325 100644 --- a/docs/reference/gdk-pixbuf/tmpl/module_interface.sgml +++ b/docs/reference/gdk-pixbuf/tmpl/module_interface.sgml @@ -204,14 +204,19 @@ operations. <!-- ##### STRUCT GdkPixbufModulePattern ##### --> <para> The signature of a module is a set of prefixes. Prefixes are encoded as -pairs of ordinary strings, where the second string, if not %NULL, must be -of the same length as the first one and may contain ' ', '!', 'x', 'z', -and 'n' to indicate bytes that must be matched, not matched, -"don't-care"-bytes, zeros and non-zeros. +pairs of ordinary strings, where the second string, called the mask, if +not %NULL, must be of the same length as the first one and may contain +' ', '!', 'x', 'z', and 'n' to indicate bytes that must be matched, +not matched, "don't-care"-bytes, zeros and non-zeros. Each prefix has an associated integer that describes the relevance of the prefix, with 0 meaning a mismatch and 100 a "perfect match". </para> - +<para> +Starting with &gdk-pixbuf; 2.8, the first byte of the mask may be '*', +indicating an unanchored pattern that matches not only at the beginning, +but also in the middle. Versions prior to 2.8 will interpret the '*' +like an 'x'. +</para> <para> The signature of a module is stored as an array of #GdkPixbufModulePattern<!-- -->s. The array is terminated by a pattern |