diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2023-01-27 20:05:15 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2023-01-27 20:22:19 +1030 |
commit | bdf97dd2a16886f53f840f1d76922a28e4f36e63 (patch) | |
tree | 26b1d7b9c187f89d3cc2fbc82b748bcc2264a6e1 /src/cairo-surface.c | |
parent | 9e59808ecb5f39e551e5e2ffbdab08c8ec66d21b (diff) | |
download | cairo-bdf97dd2a16886f53f840f1d76922a28e4f36e63.tar.gz |
Rename is_userfont_foreground to is_foreground_marker
as it is used by FT as well as user fonts.
Diffstat (limited to 'src/cairo-surface.c')
-rw-r--r-- | src/cairo-surface.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cairo-surface.c b/src/cairo-surface.c index 503a9a1c1..e9e6233a6 100644 --- a/src/cairo-surface.c +++ b/src/cairo-surface.c @@ -2204,7 +2204,7 @@ _cairo_surface_paint (cairo_surface_t *surface, if (unlikely (status)) return status; - if (source->is_userfont_foreground && surface->foreground_source) { + if (source->is_foreground_marker && surface->foreground_source) { source = surface->foreground_source; surface->foreground_used = TRUE; } @@ -2259,7 +2259,7 @@ _cairo_surface_mask (cairo_surface_t *surface, if (unlikely (status)) return status; - if (source->is_userfont_foreground && surface->foreground_source) { + if (source->is_foreground_marker && surface->foreground_source) { source = surface->foreground_source; surface->foreground_used = TRUE; } @@ -2320,12 +2320,12 @@ _cairo_surface_fill_stroke (cairo_surface_t *surface, if (unlikely (status)) return status; - if (fill_source->is_userfont_foreground && surface->foreground_source) { + if (fill_source->is_foreground_marker && surface->foreground_source) { fill_source = surface->foreground_source; surface->foreground_used = TRUE; } - if (stroke_source->is_userfont_foreground && surface->foreground_source) { + if (stroke_source->is_foreground_marker && surface->foreground_source) { stroke_source = surface->foreground_source; surface->foreground_used = TRUE; } @@ -2404,7 +2404,7 @@ _cairo_surface_stroke (cairo_surface_t *surface, if (unlikely (status)) return status; - if (source->is_userfont_foreground && surface->foreground_source) { + if (source->is_foreground_marker && surface->foreground_source) { source = surface->foreground_source; surface->foreground_used = TRUE; } @@ -2454,7 +2454,7 @@ _cairo_surface_fill (cairo_surface_t *surface, if (unlikely (status)) return status; - if (source->is_userfont_foreground && surface->foreground_source) { + if (source->is_foreground_marker && surface->foreground_source) { source = surface->foreground_source; surface->foreground_used = TRUE; } @@ -2944,7 +2944,7 @@ _cairo_surface_show_text_glyphs (cairo_surface_t *surface, if (unlikely (status)) return status; - if (source->is_userfont_foreground && surface->foreground_source) + if (source->is_foreground_marker && surface->foreground_source) source = surface->foreground_source; if (_cairo_scaled_font_has_color_glyphs (scaled_font) && |