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