summaryrefslogtreecommitdiff
path: root/src/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout.rs')
-rw-r--r--src/layout.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/layout.rs b/src/layout.rs
index 465b202d..79c5ca3f 100644
--- a/src/layout.rs
+++ b/src/layout.rs
@@ -78,8 +78,8 @@ pub struct Shape {
pub is_visible: bool,
pub paint_order: PaintOrder,
pub stroke: Stroke,
- pub stroke_paint: Arc<PaintSource>,
- pub fill_paint: Arc<PaintSource>,
+ pub stroke_paint: UserSpacePaintSource,
+ pub fill_paint: UserSpacePaintSource,
pub fill_rule: FillRule,
pub clip_rule: ClipRule,
pub shape_rendering: ShapeRendering,
@@ -114,7 +114,6 @@ pub struct TextSpan {
pub paint_order: PaintOrder,
pub stroke: Stroke,
pub stroke_paint: UserSpacePaintSource,
- pub stroke_paint_source: Arc<PaintSource>,
pub fill_paint: UserSpacePaintSource,
pub text_rendering: TextRendering,
pub link_target: Option<String>,