Skip to content
vector

vector

Mojo package 🡭

vector

Modules

  • draw_target: DrawTarget: the drawing-primitive interface a higher-level charting layer renders through, so a plot/scale/theme layer can target a raster Canvas, a vector SvgCanvas or a PdfCanvas page without knowing which it holds. Neither vector backend has a fixed pixel resolution, so nothing rendered through the trait deals in supersampling.
  • pdf: PdfCanvas: a DrawTarget that writes PDF documents.
  • pdf_font: Font embedding for PdfCanvas: the glyphs a document used, the font program carrying them, and the tables a PDF viewer needs to place and extract them.
  • svg: A DrawTarget that accumulates resolution-independent SVG markup.