diff options
author | Heiko Lewin <hlewin@gmx.de> | 2021-01-04 15:12:38 +0000 |
---|---|---|
committer | Heiko Lewin <hlewin@gmx.de> | 2021-01-04 15:12:38 +0000 |
commit | 7ac8220c1fd4afb259e53b7a5cd93a23859bdbda (patch) | |
tree | 7b7df74e7aa8bf6ee279770c3fe630957eed8d39 /src/cairo-recording-surface.c | |
parent | ed7e51eb410da324258acf5ae34f0c90dd16d2e8 (diff) | |
parent | a1dc600a07f89b9c08ffa8c25dc92f75fec10dd6 (diff) | |
download | cairo-7ac8220c1fd4afb259e53b7a5cd93a23859bdbda.tar.gz |
Merge branch 'fix-copy-paste-error-in-recording-surfaces' into 'master'
Fix copying tags in a recording surface
Closes #448
See merge request cairo/cairo!93
Diffstat (limited to 'src/cairo-recording-surface.c')
-rw-r--r-- | src/cairo-recording-surface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cairo-recording-surface.c b/src/cairo-recording-surface.c index 74823105a..6ce158036 100644 --- a/src/cairo-recording-surface.c +++ b/src/cairo-recording-surface.c @@ -1456,17 +1456,17 @@ _cairo_recording_surface_copy__tag (cairo_recording_surface_t *surface, command->attributes = strdup (src->tag.attributes); status = _cairo_pattern_init_copy (&command->source.base, - &src->stroke.source.base); + &src->tag.source.base); if (unlikely (status)) goto err_command; status = _cairo_stroke_style_init_copy (&command->style, - &src->stroke.style); + &src->tag.style); if (unlikely (status)) goto err_source; - command->ctm = src->stroke.ctm; - command->ctm_inverse = src->stroke.ctm_inverse; + command->ctm = src->tag.ctm; + command->ctm_inverse = src->tag.ctm_inverse; } status = _cairo_recording_surface_commit (surface, &command->header); |