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