Render a Bezier curve on an SDL2 window using Cairo. (Use black for now, until color is provided by T1247: ARGB Colors.) The values used to generate the Bezier curve should ultimately come from RIFT bytecode, which may be hardcoded into the program until read/write of RIFT files has been added.
Dependencies and Tools
- Cairo: Vector drawing
- Eigen: Linear algebra library
- eventpp: Signals and callbacks
- PawLIB: Testing, Utilities
- SDL2: Rendering, hardware layer access
Break down this task into subtasks, and prioritize them. Be sure to mark all four main QTM measures (Priority, Gravity, Friction, Relativity) for each.
Remember to start by drawing a Bezier curve using hardcoded values, and then gradually move towards deriving those values from interpreted RIFT bytecode.
You may find it helpful to focus on either just Cairo or just SDL2 first. Cairo can output to a PNG instead of a window, and SDL2 can generate blank windows. Once both are working, connect the two.