Hi Eric,
Looks nice except this is unnecessarely complex:
+ aRect.size.width = static_cast<float>( nX)
+static_cast<float>(nWidth) - static_cast<float>(nX);
+ aRect.size.height =
static_cast<float>(nY)+static_cast<float>(nHeight) -
static_cast<float>(nY);
instead, just maybe use:
+ aRect.size.width = static_cast<float>(nWidth);
+ aRect.size.height = static_cast<float>(nHeight);
BR,
Mox
On 2/13/07, eric b <[EMAIL PROTECTED]> wrote:
Hi,
I think I have found a way to create an invert function using Quatrz,
( and not using deprecated InvertRect() from QD ).
Can someone test this patch and let me know how it works ?
http://eric.bachard.free.fr/mac/aquavcl/patches/controls/
fev_2007/13_02_07/aqua_new_invert.diff
Thanks :-)
Eric Bachard
P.S. : please use salgdi.cxx from cvs ...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Mox on G