[1/5] gdiplus: Retrive LOGFONT from a GpFont using GdipGetLogFontW instead of accessing it directly.

Dmitry Timoshkov dmitry at baikal.ru
Thu May 10 14:01:18 CDT 2012


Alexandre Julliard <julliard at winehq.org> wrote:

> > +    stat = GdipGetLogFontW((GpFont *)font, graphics, &lfw);
> > +    if (stat != Ok) return stat;
> 
> I'm not sure it's an improvement, since you need to add these ugly
> casts. You should find a way that doesn't require that.

I don't see a way to avoid that, gdiplus APIs are broken in that regard.

-- 
Dmitry.



More information about the wine-devel mailing list