Hi Pascal,

I added a line to canvas_test.adb and have attached the diff.  You should
now see the image drawn twice after clicking the button, one large, one
small.

cheers,
Fraser.

On Sat, 16 Feb 2019 at 17:46 Pascal via Gnoga-list <
[email protected]> wrote:

>
> > Le 14 févr. 2019 à 10:33, Fraser Wilson <[email protected]> a écrit
> :
> >
> > Hello all,
> >
> > I'm not a git guru, but I think I worked out how to create a patch.
> It's a very simple change which adds a binding to drawImage in
> Gnoga.Gui.Element.Canvas.Context_2D.
> > void ctx.drawImage(image, dx, dy, dWidth, dHeight);
> > Let me know if there's a preferred place to send it.
>
> Thanks Fraser for your contribution,
>
> I'll will add it in Gnoga 1.5-alpha with a small test program.
>
> Can you send a small piece of test code that I can add?
>
> Regards, Pascal.
> http://blady.pagesperso-orange.fr
>
>
>
>
> _______________________________________________
> Gnoga-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>

Attachment: test-draw-image.diff
Description: Binary data

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

Reply via email to