> Le 5 avr. 2019 à 21:30, Travis Ayres <[email protected]> a écrit :
> 
> Hi everyone,
> I'm interested in mainly 2D ECAD, so I need access to a 2D canvas to draw 
> things on. I've been using Tkinter's canvas, which allows me to bind 
> callbacks directly to items on the canvas.
> 
> What would be the equivalent way to go about this in Gnoga? Or how would I 
> canonically get started with that? 

Hello Travis,

With Gnoga, canvas elements are not Gnoga object that you can bind callbacks 
(as Javascript 2D graphics AFAIK).
You can use SVG elements, see svg_demo.adb in test folder.
Or you can use PIXI elements, see pixi_sprite_test.adb in test folder.

Regards, Pascal.
http://blady.pagesperso-orange.fr




_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to