Commit Graph

11 Commits

Author SHA1 Message Date
Vincent Sanders 49a515c808 Improve colour_lightness
Clearly document what colour_lightness does.
Fix the blue component value multiplier to be in bounds and correct value
2020-06-29 08:49:12 +01:00
Michael Drake 3626a5654e Plot style: Helper macro to get nearest of black and white. 2020-05-23 21:33:42 +01:00
Michael Drake 30b9c088b0 Plot style: Add half lighten/darken helper variants. 2020-04-07 21:28:12 +01:00
Chris Young 962431dd3d Rename mask to msk
There's something about "mask" which causes the version of GCC we use for the m68k-amigaos build to misinterpret the code
2020-03-06 20:15:52 +00:00
Michael Drake 1e6b0f1d76 Plot style: Add helper to swap red and blue channels. 2020-02-24 18:22:03 +00:00
Michael Drake 475d397b8c Plot style: Add function to engorge a colour channel.
This can be used to exaggerate the red, green, or blue component.
2020-02-23 17:38:14 +00:00
Michael Drake 6783deba4e Plot style: Split lightness calc out of colour_to_bw_furthest macro. 2020-02-23 17:38:14 +00:00
Michael Drake 8a931f01b9 Plotters: Expose array of font family strings to front ends. 2018-05-23 14:02:53 +01:00
Michael Drake 66493421e6 Plotters: Change stroke width in the plot_style_t to fixed point. 2018-05-23 13:04:19 +01:00
Michael Drake a58d97a41a Plotters: Add plot_style_fixed type, and use for font size. 2018-05-23 11:48:35 +01:00
Vincent Sanders 7dab7cb43d move plot style header to netsurf include directory
move plotter style header and adjust all callers to use only what they
actually require.
2017-01-13 10:03:24 +00:00
Renamed from desktop/plot_style.h (Browse further)