gsk4/
stroke_node.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3use crate::{RenderNodeType, StrokeNode};
4
5define_render_node!(
6    StrokeNode,
7    crate::ffi::GskStrokeNode,
8    RenderNodeType::StrokeNode
9);
10
11impl std::fmt::Debug for StrokeNode {
12    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
13        f.debug_struct("StrokeNode")
14            .field("child", &self.child())
15            .field("stroke", &self.stroke())
16            .field("path", &self.path())
17            .finish()
18    }
19}