[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: GdipGraphicsClear function implementation and tests
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2008-03-31 13:56:58
Message-ID: 871w5r809h.fsf () wine ! dyndns ! org
[Download RAW message or body]

"Gynvael Coldwind" <gynvael@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@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic