On 16.04.2015, at 11:33, Nicolai Hess <nicolaihess@web.de> wrote:



2015-04-16 20:18 GMT+02:00 Bert Freudenberg <bert@freudenbergs.de>:
 
On 15.04.2015, at 23:53, Nicolai Hess <nicolaihess@web.de> wrote:
>
> 2015-04-15 23:53 GMT+02:00 Bert Freudenberg <bert@freudenbergs.de>:
>
>> No idea, but just as a datapoint:
>>
>> The code works fine in SqueakJS (if you enlarge the form to actually show the ellipse centered at 400@400):
>>
>> <PastedGraphic-8.png>
>>
>> Also no idea why the gradient repeats after 260 pixels ...
>>
> This looks like some "wrap-around" , what happens if the fill is in the upper left
> quarter? will the fill appear 4 times?

It appears to repeat vertically only.

You can easily try it for yourself. Just go to this URL, open a workspace, and paste your code in:

That is not really easy:)
I can not copy and paste into squeakjs. And with german keyboard layout I can not even
tpye an @ sign.
(Firefox on Windows 7)

Does copy and paste work for other systems / browser?

Ah, Chrome works best so far. Sorry. Patches welcome ;^)

 

http://tinyurl.com/mks6psd

> How would JS react on a wrong array access? Throwing an exception?

No. It's just a no-op.

- Bert -






- Bert -