On Mon, 31 Oct 2005 11:19:16 Joseph Maurer wrote:
>
> On Oct 31, 2005, at 11:10 AM, Laurence Harris wrote:
>
>> So that means you need to swap the picSize value as well if you access it
>
> The picSize field (a 16-bit qantity) has been pointless ever since PICTs could
> get bigger than 64k :-)
> It may very well contain garbage.
I believe it is still used during picture recording: it must be properly
set either odd or even, otherwise pict opcodes won't pad correctly on
even bytes. The simplest way to do it is just to add to it and ignore
overflow. So yes, it could be 15 bits of garbage + 1 bit of signal. :-)
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden