[PATCH 2/2] gdiplus: Fix hatch brush patterns.
Jeff Smith
whydoubt at gmail.com
Thu Jun 11 21:34:59 CDT 2020
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 at codeweavers.com> wrote:
>
> + hatch_palette[2] = blend_colors_pre(back_color, fore_color,
> sqrt(2.0) - 0.5);
>
> What is this magic number?
More information about the wine-devel
mailing list