diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-09-18 00:26:07 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-09-18 00:26:07 -0400 |
commit | 1fe7088a113f8a9cb40d436f10af4967662cd02a (patch) | |
tree | c4174320064ac9c9e3b77ce5ae6db93106f98c29 /src/cairo-pdf-surface-private.h | |
parent | a8cd426a4c79a7165b312f550ecc6a87b61303a3 (diff) | |
download | cairo-1fe7088a113f8a9cb40d436f10af4967662cd02a.tar.gz |
[show_text_glyphs] Replace the bool backward with cairo_text_cluster_flags
Chris rightfully complained that having a boolean function argument is
new in cairo_show_text_glyphs, and indeed avoiding them has been one
of the API design criteria for cairo. Trying to come up with alternatives,
Owen suggested using a flag type which nicely solves the problem AND
future-proofs such a complex API.
Please welcome _flags_t APIs to cairo.h
Diffstat (limited to 'src/cairo-pdf-surface-private.h')
-rw-r--r-- | src/cairo-pdf-surface-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-pdf-surface-private.h b/src/cairo-pdf-surface-private.h index a2962f848..ab222ded8 100644 --- a/src/cairo-pdf-surface-private.h +++ b/src/cairo-pdf-surface-private.h @@ -96,7 +96,7 @@ typedef struct _cairo_pdf_smask_group int num_glyphs; cairo_text_cluster_t *clusters; int num_clusters; - cairo_bool_t backward; + cairo_bool_t cluster_flags; cairo_scaled_font_t *scaled_font; } cairo_pdf_smask_group_t; |