rowBytes &= 0x3fff; // Mask out top 2 reserved bits.
OUCH! Don't do this! Changes are that this is no longer necessary plus
on
large pixmaps (> 4K 32-bit pixels wide) rowbytes is a long not a
short. Your
GetBits method should be using the GetPixMapRowBytes API which "does
the
right thing" in all cases.
Hmm, I'd never heard of such a thing. Every pixmap I see has at least
one of the two high bit flags set. Man, now I'm going to have to go
through all our code and find change this. Not that we ever make
bitmaps large enough that it would max it out. Although in the future
we'll be increasing our max doc size, so it could happen then.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden