summaryrefslogtreecommitdiff
path: root/src/cairo-scaled-font-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2021-08-30 20:41:18 +0930
committerAdrian Johnson <ajohnson@redneon.com>2021-09-18 07:05:35 +0930
commit8ea4ae5413bd8ae1497e11a473d173cfc2475ae6 (patch)
tree7fc073d2416c0d95c3c5ce5c2277db4b3db36c7e /src/cairo-scaled-font-private.h
parent994e33215e35e49981dea5b459a9b5b85d4cd1b1 (diff)
downloadcairo-8ea4ae5413bd8ae1497e11a473d173cfc2475ae6.tar.gz
Allow user fonts to use the foreground color
Diffstat (limited to 'src/cairo-scaled-font-private.h')
-rw-r--r--src/cairo-scaled-font-private.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cairo-scaled-font-private.h b/src/cairo-scaled-font-private.h
index 42e9b0913..3b2fe586d 100644
--- a/src/cairo-scaled-font-private.h
+++ b/src/cairo-scaled-font-private.h
@@ -148,13 +148,14 @@ struct _cairo_scaled_glyph {
cairo_list_t dev_privates;
cairo_color_t foreground_color; /* only used for color glyphs */
- /* TRUE if the color_surface used the foreground_color to render. */
+ /* TRUE if the color_surface required the foreground_color to render. */
unsigned uses_foreground_color : 1;
/* TRUE if this is not a color glyph, FALSE if is a color glyph or unknown. */
unsigned not_color_glyph : 1;
- unsigned has_color : 1;
+ /* TRUE if recording_surface is a color glyph */
+ unsigned recording_is_color : 1;
};
struct _cairo_scaled_glyph_private {