Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 934 Bytes

notes.markdown

File metadata and controls

24 lines (19 loc) · 934 Bytes

Cadel — a vector graphics stack in C

Cadel is a vector-based graphics stack, with platform-specific backends. Platforms can either be hardware architectures (e.g. i386 or amd64), specific devices (e.g. Raspberry Pi), or certain software (e.g. Xorg or Wayland).

These backends will typically be rendering rasterized images. As such, Cadel will include a rasterizer.

Definitions

  • coordinates: a set of (x, y) coordinates.
  • line: a collection of two sets of (x, y) coordinates.
  • curve: a representation of a curved line.
    • TODO: what is the representation?
  • object: a collection of lines and/or curves which defines a more complex shape.
    • Examples: any set of lines that are related, including intersecting lines, parallel lines which are directly related, and polygons.
  • primitive: is a basic vector building block provided by the library.
    • Examples: lines, rectangles, circles.