I'm not sure how to describe it succinctly, but if you pass a diagonal line with a width of one unit through the middle of a unit square, this is the portion of the square that is covered. Also note that an adjacent square, which just has the corner nicked, will have 1/4 of the surface covered.
On Thu, Jun 11, 2020 at 9:08 PM Esme Povirk (they/them) vincent@codeweavers.com wrote:
- hatch_palette[2] = blend_colors_pre(back_color, fore_color,
sqrt(2.0) - 0.5);
What is this magic number?