SVG Rasterization

Vector graphic is great for web because of its scalability and smaller file size, but we can do more complex editing with raster graphic. Take a look at a simple rasterization pipeline for SVG files, painting <polygon /> on a grid of pixels with supersampling.

Topics Covered

  • SVG Rasterization Pipeline
  • Sampling
  • Triangle Rasterization
  • Supersampling