I use the latest version on the jenkins build 26


Le 2/4/16 17:26, Aliaksei Syrel a ��crit��:

Hi

What version do you use? In bloc drawing stuff happens in drawOnSpartaCanvas, not athensCanvas.


so then why do you have this method in BlElement >> drawOnAthensCanvas: aCanvas

I'm sorry to say that but this is really not welcoming.

Also strangely enough you should not get red screen of death, instead image should crash in case of drawing error. Error handling is not yet done, because I don't like how red screen of death behaves.

Also, why do use BlMorph when we have BlElement?

I use BlElement but I do not like the name.

You see for me I'm quite sad because 1hour not to be able to draw a circle inside a square
it means that I should not use Bloc.

My "code" is under StephaneDucasse/LaserGame

Stef


I'm confused...

On Apr 2, 2016 4:59 PM, "stepharo" <stepharo@free.fr> wrote:
Hi

I got a red square of death and I can inspect the blMorph but I cannot get a debugger to understand the drawing problem?

rawOnAthensCanvas: aCanvas

�� �� super drawOnAthensCanvas: aCanvas.
�� �� aCanvas
�� �� �� �� drawShape: (BlShape new
�� �� �� �� �� �� �� �� �� �� �� �� �� �� strokePaint:
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� (BlStrokePaint new
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� paint: (BlColorPaint new color: (Color blue));
�� �� �� �� �� �� �� �� �� �� �� �� �� �� width: 15);
�� �� �� �� �� �� �� �� path: BlCirclePath new).

and when I select

(BlShape new
�� �� �� �� �� �� �� �� �� �� �� �� �� �� strokePaint:
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� (BlStrokePaint new
�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� paint: (BlColorPaint new color: (Color blue));
�� �� �� �� �� �� �� �� �� �� �� �� �� �� width: 15);
�� �� �� �� �� �� �� �� path: BlCirclePath new).

I can inspect it.