[librsvg: 8/14] TextSpan: pass the original stroke paint source here
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 8/14] TextSpan: pass the original stroke paint source here
- Date: Wed, 9 Mar 2022 23:43:12 +0000 (UTC)
commit 5ab8d17384ab03e6ba51f1e10b7d48c1d64f5c96
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 0234df941..7f897eb42 100644
--- a/src/text.rs
+++ b/src/text.rs
@@ -829,6 +829,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]