Functions For Helping FillRect
William Poetra Yoga H
williampoetra at yahoo.com
Tue Oct 26 00:26:33 CDT 2004
--- Alexandre Julliard <julliard at winehq.org> wrote:
> > And, is my second assumption correct, btw? I mean,
> > x = r.right - r.left + 1
> > y = r.bottom - r.top + 1
>
> I'm not sure what you mean, it seems you are trying to think too hard
> about it; just don't worry about doing +1/-1, that should never be an
> issue, just compute the limits the intuitive way. If you want an x by
> y rectangle, just set right = left + x and bottom = top + y and
> everything will behave properly.
>
OK, so to fill the whole screen on an 1024x768 display, I'll set right = 1024
and bottom = 768. Thanks :)
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
More information about the wine-devel
mailing list