Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Expanding Growth in Memory and XOR Mode in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Expanding Growth in Memory and XOR Mode in OS X



Many Thanks,

I'm now drawing lines instead of a rectangle and the memory big-bang has gone away, still got problems with XOR but that can wait :-)

The MRJ drag-drop APIs are a definite option and I think do work for Classic MRJ. Its a case of prioritising my work - this fix lets me do the other stuff ;-)

Thanks Again,

Ian Cheyne
Systems Engineer, UK

On Monday, April 30, 2001, at 10:39 pm, Vladimir Lhotak wrote:

Ian, I recollect vaguely a problem in OS X 10.0 (and 10.0.1) where drawing
horizontal and vertical lines in XOR mode would lead to memory big-bang. If
you check the mail archives there is more detail about that.

The workaround is to make sure that your rect is not zero-sided - if either
width or height of it are 0 don't draw it, draw a line instead. An even
better workaround, perhaps, might be to use MRJ drag-drop APIs instead of
cooking up your own. (Even though I'm not positive they go back all the way
to 1.1.8.)

-Vladimir


References: 
 >Re: Expanding Growth in Memory and XOR Mode in OS X (From: Vladimir Lhotak <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.