Fork of dvui, the immediate-mode Zig GUI, with a font face index for Pipit

gradient: dedupe Gradient type, fix angle_degrees inverted from docs, add test

angle_degrees=0 was producing a vertical gradient and 90 a horizontal one, backwards from the documented '0 = left-to-right, 90 = top-to-bottom'. Caught by the new fill-gradient test.


Author nat3 Date Commit Parent 2aabf417
+42 -12
2 changed files
+42 -12
2 changed files