29 Feb
2012
29 Feb
'12
8:29 a.m.
Vincent Povirk <madewokherd(a)gmail.com> wrote:
The right solution is to remove the gdibrush and logbrush fields from GpBrush, and generate the HBRUSH as needed in brush_fill_path. Note that brush_fill_path will only be called for solid and hatch brushes (those for which brush_can_fill_path returns true), so we don't need the code to create a gdi brush for the other types.
Does the attached patch look better? Next step would be to get rid of bmp in GpSolidFill structure. -- Dmitry.