[squeak-dev] Puzzled about Form#stencil
bert at freudenbergs.de
Wed Nov 14 17:23:07 UTC 2012
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!
> 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