diff options
author | Sven Gothel <[email protected]> | 2023-02-16 01:54:58 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-02-16 01:54:58 +0100 |
commit | b5c604bbdfb8278feaa5e5f5f8c047ab48c4d514 (patch) | |
tree | 9af17bcd91591184ca4c314d7fe8cd88c315d829 /doc | |
parent | 0f40fee0cd5d1dd36f68a02b81f2cff90261ef6b (diff) |
Graph: TypecastRenderer: Fix point-loop (no reduced 'count - 1', no break on endOfContour), remove redundant branch B3, add Type-2 and add code dump for testing
Realigned renderer code w/ Typecast's AWT demo:
- TTF Quadratic Shape
- The inner loop 'offset < count' is sufficient, otherwise could drop last point
- point_0.endOfCountour is valid as a last point
- Branch-3 and hence point-3 is not required as handled via B4 and subsequent B6
- Type-2 Cubic Shape
- Added .. not tested yet
Also added optional debug code dump via
java cmdline `-Djogl.debug.graph.font.Renderer.Code`,
which dumps plain OutlineShape construction code for testing
and debugging our CurveRenderer.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions