fn clip(&mut self, path: path::Path, fill_rule: FillRule, render::Rgba8(color): render::Rgba8, scale_factor: f64, entity: LayerEntityRef) -> (LayerEntityRef, RenderEntity) {
        let geometry = self.fill_geometry(path, fill_rule, render::Rgba8(color), scale_factor);

        (entity, RenderEntity::VertexBuffer(geometry, VertexBufferIntent::Clip))
    }
///
/// Fills the current path and returns the resulting render entity
///
Fills the current path and returns the resulting render entity
Fills the current path and returns the resulting render entity
fn clip(&mut self, path: path::Path, fill_rule: FillRule, render::Rgba8(color): render::Rgba8, scale_factor: f64, entity: LayerEntityRef) -> (LayerEntityRef, RenderEntity) {
        let geometry = self.fill_geometry(path, fill_rule, render::Rgba8(color), scale_factor);
        (entity, RenderEntity::VertexBuffer(geometry, VertexBufferIntent::Clip))
    }
fn clip ( & mut self , path : path :: Path , fill_rule : FillRule , render :: Rgba8 ( color ) : render :: Rgba8 , scale_factor : f64 , entity : LayerEntityRef ) -> ( LayerEntityRef , RenderEntity ) { let geometry = self . fill_geometry ( path , fill_rule , render :: Rgba8 ( color ) , scale_factor ) ; ( entity , RenderEntity :: VertexBuffer ( geometry , VertexBufferIntent :: Clip ) ) }
Fills the current path and returns the resulting render entity
Fills the current path and returns the resulting render entity
&mut self
path
path::Path
fill_rule
render::Rgba8
scale_factor
f64
entity
LayerEntityRef