[librsvg/librsvg-2.52: 15/21] TextSpan: pass the original stroke paint source here
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.52: 15/21] TextSpan: pass the original stroke paint source here
- Date: Fri, 11 Mar 2022 20:37:22 +0000 (UTC)
commit b898b006314d60e289b1b0c5c5c9a12595b89b1f
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Feb 4 20:38:07 2022 -0600
TextSpan: pass the original stroke paint source here
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/673>
src/layout.rs | 1 +
src/text.rs | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/src/layout.rs b/src/layout.rs
index acf117552..1a1fc54e1 100644
--- a/src/layout.rs
+++ b/src/layout.rs
@@ -109,6 +109,7 @@ pub struct TextSpan {
pub paint_order: PaintOrder,
pub stroke: Stroke,
pub stroke_paint: UserSpacePaintSource,
+ pub stroke_paint_source: PaintSource,
pub fill_paint: UserSpacePaintSource,
pub text_rendering: TextRendering,
pub link_target: Option<String>,
diff --git a/src/text.rs b/src/text.rs
index 0fd5ac405..95ca58122 100644
--- a/src/text.rs
+++ b/src/text.rs
@@ -828,6 +828,7 @@ impl Draw for Text {
paint_order: span.paint_order,
stroke: span.stroke,
stroke_paint,
+ stroke_paint_source: span.stroke_paint,
fill_paint,
text_rendering: span.text_rendering,
link_target: span.link_target,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]