[BUG] Translucent lines in 16 bpp

Bob Arning arning at charm.net
Fri May 12 15:50:37 UTC 2000


Bert,

This is very similar to a bug Dan fixed in BitBltSimulation>>scanCharacters around the first of the year. The line-drawing primitive (104) is failing, but only after updating some state information. A workaround is to comment the primitive call and always use the Squeak fallback code.

BitBlt>>>drawLoopX:Y:

	"<primitive: 104>"

The better solution is, of course, to fix the VM.

Cheers,
Bob

On Fri, 12 May 2000 12:07:08 +0200 (CEST) Bert Freudenberg <bert at isgnw.CS.Uni-Magdeburg.De> wrote:
>Display restoreAfter: [
>	Display newDepth: 16.
>	World canvas
>		line: 0 at 0 to: 100 at 100 width: 3
>        	color: (Color r: 1 g: 0 b: 0 alpha: 0.5)
>]
>
>This draws a line from 100 at 100 to 200 at 200 instead of starting at the top
>left corner. It works fine in 8 and 32 bpp ...





More information about the Squeak-dev mailing list