Hello,

I tried:
      Context.Get_Drawing_Context_2D (App.My_Canvas);
      Put_Line(Context.Execute("getImageData(10,10,50,50).data;"));
with result:
[object Uint8ClampedArray]

How to transfert this array to Ada side?

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


Le 2 janv. 2015 à 11:14, Pascal <[email protected]> a écrit :

> Hello,
> 
> In Gnoga.Gui.Element.Canvas.Context_2D could you add the implementation of 
> pixel manipulation API to Gnoga TODO list?
> 
> http://www.w3.org/TR/2dcontext/ see §13 Pixel manipulation:
> ImageData getImageData (double sx, double sy, double sw, double sh);
> void putImageData(ImageData imagedata, double dx, double dy);
> ...
> 
> And also proposal for:
>  void setLineDash (sequence<unrestricted double> segments); // default empty
>  sequence<unrestricted double> getLineDash();
> See http://sourceforge.net/p/gnoga/mailman/message/33175198.
> 
> Thanks, Pascal.
> http://blady.pagesperso-orange.fr
> 
> 
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Gnoga-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnoga-list


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to