Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!usc!apple!ftanaka From: ftanaka@Apple.COM (Forrest Tanaka) Newsgroups: comp.sys.mac.programmer Subject: Re: When is an integer not an integer? Message-ID: <34834@apple.Apple.COM> Date: 18 Sep 89 23:17:35 GMT References: <7740@microsoft.UUCP> Distribution: na Organization: Apple Computer Inc, Cupertino, CA Lines: 19 In article <7740@microsoft.UUCP> johnte@microsoft.UUCP (John Terranova) writes: * It turns out that RowBytes is not really an integer anymore. The top three bits are used by QuickDraw (or some part of the system) as flags. In my case of an offscreen color pix map the high three bits (15, 14, 13) need to be 110. When my data file wants RowBytes to be 8900 (i.e. >8191) bit 13 gets turned on and I get garbage on the screen. * Starting with 32-Bit Quickdraw, Apple now only takes the top TWO bits away from RowBytes. Well, that's a LITTLE better. Apple: Going that extra bit for you -- ******************************************************************************* Forrest Tanaka AppleLink: TANAKA Macintosh Developer Technical Support UseNet: ftanaka@Apple.COM Apple Computer, Inc.