Closed prepare closed 5 years ago
some svg 'clip region', so we implement that effect with mask.
1. Agg/CpuBlit see => https://github.com/PaintLab/PixelFarm/blob/dev/src/PixelFarm/PixelFarm.Drawing/7_CpuBlitPainter/DrawBoard/AggPainter.cs#L89
volcano.svg, rendered with Agg, left (no mask), right (with mask)
2. GLES2 see =>https://github.com/PaintLab/PixelFarm/blob/dev/src/PixelFarm/PixelFarm.Drawing.GLES/Painter/GLPainter.cs#L61
volcano.svg, rendered with GLES2 (disable line-smooth-shader), left (no mask), right (with mask)
Before and After apply Mask
some svg 'clip region', so we implement that effect with mask.
1. Agg/CpuBlit see => https://github.com/PaintLab/PixelFarm/blob/dev/src/PixelFarm/PixelFarm.Drawing/7_CpuBlitPainter/DrawBoard/AggPainter.cs#L89
volcano.svg, rendered with Agg, left (no mask), right (with mask)
2. GLES2 see =>https://github.com/PaintLab/PixelFarm/blob/dev/src/PixelFarm/PixelFarm.Drawing.GLES/Painter/GLPainter.cs#L61
volcano.svg, rendered with GLES2 (disable line-smooth-shader), left (no mask), right (with mask)