File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Take a look at the license at the top of the repository in the LICENSE file.
2
+
3
+ use crate :: { FillNode , RenderNodeType } ;
4
+
5
+ define_render_node ! ( FillNode , ffi:: GskFillNode , RenderNodeType :: FillNode ) ;
6
+
7
+ impl 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
+ }
Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ mod conic_gradient_node;
45
45
mod container_node;
46
46
mod cross_fade_node;
47
47
mod debug_node;
48
+ #[ cfg( feature = "v4_14" ) ]
49
+ #[ cfg_attr( docsrs, doc( cfg( feature = "v4_14" ) ) ) ]
50
+ mod fill_node;
48
51
mod gl_shader;
49
52
mod gl_shader_node;
50
53
mod inset_shadow_node;
@@ -64,6 +67,9 @@ mod repeating_linear_gradient_node;
64
67
mod repeating_radial_gradient_node;
65
68
mod rounded_clip_node;
66
69
mod shadow_node;
70
+ #[ cfg( feature = "v4_14" ) ]
71
+ #[ cfg_attr( docsrs, doc( cfg( feature = "v4_14" ) ) ) ]
72
+ mod stroke_node;
67
73
mod text_node;
68
74
mod texture_node;
69
75
#[ cfg( feature = "v4_10" ) ]
Original file line number Diff line number Diff line change
1
+ // Take a look at the license at the top of the repository in the LICENSE file.
2
+
3
+ use crate :: { RenderNodeType , StrokeNode } ;
4
+
5
+ define_render_node ! ( StrokeNode , ffi:: GskStrokeNode , RenderNodeType :: StrokeNode ) ;
6
+
7
+ impl std:: fmt:: Debug for StrokeNode {
8
+ fn fmt ( & self , f : & mut std:: fmt:: Formatter ) -> std:: fmt:: Result {
9
+ f. debug_struct ( "StrokeNode" )
10
+ . field ( "child" , & self . child ( ) )
11
+ . field ( "stroke" , & self . stroke ( ) )
12
+ . field ( "path" , & self . path ( ) )
13
+ . finish ( )
14
+ }
15
+ }
You can’t perform that action at this time.
0 commit comments