fn create_default_layer() -> Layer {
        Layer {
            render_order:       vec![RenderEntity::SetTransform(canvas::Transform2D::identity())],
            state:              LayerState {
                is_sprite:          false,
                fill_color:         FillState::Color(render::Rgba8([0, 0, 0, 255])),
                winding_rule:       FillRule::NonZero,
                stroke_settings:    StrokeSettings::new(),
                current_matrix:     canvas::Transform2D::identity(),
                sprite_matrix:      canvas::Transform2D::identity(),
                scale_factor:       1.0,
                blend_mode:         canvas::BlendMode::SourceOver,
                restore_point:      None
            },
            stored_states:      vec![]
        }
    }
///
/// Creates a new layer with the default properties
///
Creates a new layer with the default properties
Creates a new layer with the default properties
fn create_default_layer() -> Layer {
        Layer {
            render_order:       vec![RenderEntity::SetTransform(canvas::Transform2D::identity())],
            state:              LayerState {
                is_sprite:          false,
                fill_color:         FillState::Color(render::Rgba8([0, 0, 0, 255])),
                winding_rule:       FillRule::NonZero,
                stroke_settings:    StrokeSettings::new(),
                current_matrix:     canvas::Transform2D::identity(),
                sprite_matrix:      canvas::Transform2D::identity(),
                scale_factor:       1.0,
                blend_mode:         canvas::BlendMode::SourceOver,
                restore_point:      None
            },
            stored_states:      vec![]
        }
    }
fn create_default_layer ( ) -> Layer { Layer { render_order : vec ! [ RenderEntity SetTransform ( canvas Transform2D identity ( ) ) ] , state : LayerState { is_sprite : false , fill_color : FillState :: Color ( render :: Rgba8 ( [ 0 , 0 , 0 , 255 ] ) ) , winding_rule : FillRule :: NonZero , stroke_settings : StrokeSettings :: new ( ) , current_matrix : canvas :: Transform2D :: identity ( ) , sprite_matrix : canvas :: Transform2D :: identity ( ) , scale_factor : 1.0 , blend_mode : canvas :: BlendMode :: SourceOver , restore_point : None } , stored_states : vec ! [ ] } }
Creates a new layer with the default properties
Creates a new layer with the default properties