Angus Leeming wrote:
On Thursday 24 October 2002 12:56 pm, Rob Lahaye wrote:

Now I think of it, we may better use "scale = -1" (or any
negative value) to indicate the use of width/height. Checking
"scale < 0" is safer than checking "scale == 0.0", isn't it?

Nah. What we have is fine. If implemented correctly.
OK, if you say so, let it be for now.

"If implemented correctly", indeed. We have to think carefully now and do
all sorts of complicated checks to be sure it's really approximately zero.
All that will be so much easier when only check of a negative value is needed.

I'm very much tempted to implement this, though. Now or for 1.4.0.

---
I still haven't tested yet: if we won't catch scale = 0.0 will something explode?

Rob.

Reply via email to