GdipGraphicsClear function implementation and tests

Alexandre Julliard julliard at winehq.org
Mon Mar 31 08:56:58 CDT 2008


"Gynvael Coldwind" <gynvael at vexillium.org> writes:

> +    /* get width and height
> +     */
> +    width  = GetDeviceCaps(graphics->hdc, HORZRES);
> +    height = GetDeviceCaps(graphics->hdc, VERTRES);

This won't do what you want. You should probably use something like
GetClipBox() here.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list