pub fn process_job(&mut self, job: CanvasJob) -> (LayerEntityRef, RenderEntity) {
        use self::CanvasJob::*;

        match job {
            Fill    { path, fill_rule, color, scale_factor, entity }    => self.fill(path, fill_rule, color.flat_color(), scale_factor, entity),
            Clip    { path, fill_rule, color, scale_factor, entity }    => self.clip(path, fill_rule, color, scale_factor, entity),
            Stroke  { path, stroke_options, scale_factor, entity }      => self.stroke(path, stroke_options, scale_factor, entity),
        }
    }
///
/// Processes a single tessellation job (returning a vertex buffer entity)
///
Processes a single tessellation job (returning a vertex buffer entity)
Processes a single tessellation job ( returning a vertex buffer entity )
pub fn process_job(&mut self, job: CanvasJob) -> (LayerEntityRef, RenderEntity) {
        use self::CanvasJob::*;
        match job {
            Fill    { path, fill_rule, color, scale_factor, entity }    => self.fill(path, fill_rule, color.flat_color(), scale_factor, entity),
            Clip    { path, fill_rule, color, scale_factor, entity }    => self.clip(path, fill_rule, color, scale_factor, entity),
            Stroke  { path, stroke_options, scale_factor, entity }      => self.stroke(path, stroke_options, scale_factor, entity),
        }
    }
pub fn process_job ( & mut self , job : CanvasJob ) -> ( LayerEntityRef , RenderEntity ) { use self :: CanvasJob :: * ; match job { Fill { path , fill_rule , color , scale_factor , entity } => self . fill ( path , fill_rule , color . flat_color ( ) , scale_factor , entity ) , Clip { path , fill_rule , color , scale_factor , entity } => self . clip ( path , fill_rule , color , scale_factor , entity ) , Stroke { path , stroke_options , scale_factor , entity } => self . stroke ( path , stroke_options , scale_factor , entity ) , } }
Processes a single tessellation job (returning a vertex buffer entity)
Processes a single tessellation job ( returning a vertex buffer entity )
&mut self
job
CanvasJob