03.图形绘制库

二维绘图

  • Coordinates
    • 2D Linear Transform
      • scale
      • translate
      • rotation
      • skew
    • Matrix Representation
      • x' = T x
      • composable
  • Vector
    • Line
      • Color
      • Width
      • LineCap
    • Multiline: Triangle / Rect / Polygon
      • Path
      • LineJoin
    • Circle, Ellipse
  • Text
    • Font
    • Glyph
    • Weight (often in pound / pt)
    • Baseline
  • Drawing API - high level
    • Browser: HTMLCanvasElement
    • Android: Canvas
    • iOS: CGContext
  • Drawing API - low level
    • OpenGL / OpenGL ES