[squeak-dev] Puzzled about Form#stencil
Sebastian Nozzi
sebnozzi at gmail.com
Wed Nov 14 19:02:09 UTC 2012
Thanks! That clears it then.
El 14/11/2012, a las 18:23, Bert Freudenberg escribió:
> On 14.11.2012, at 17:57, Sebastian Nozzi <sebnozzi at gmail.com> wrote:
>
>> I still don't get it... wouldn't it mean that it should be a full
>> white opaque pixel? (I'm no graphics expert)
>
> No, it's a white pixel with alpha (opaqueness) of 0. Opaque white would be 16rFFFFFFFF, not 16r00FFFFFF.
>
>> And still, isn't this contradictory?
>>
>> self isTransparentAt: 0 at 0. ==> false
>> self colorAt: 0 at 0. ==> Color transparent
>
> For historical reasons, only a pixel value of 0 is treated as transparent by BitBlt.
>
> - Bert -
>
>> Thanks again!
>>
>> Sebastian
>>
>>
>> 2012/11/14 Bert Freudenberg <bert at freudenbergs.de>:
>>>
>>> sketch305 form bits first hex
>>> ==> '16r0'
>>>
>>> sketch1737 form bits first hex
>>> ==> '16rFFFFFF'
>>>
>>> - Bert -
>
More information about the Squeak-dev
mailing list
|