Like the title says there is now a WebDrawingArea.class with a few emulated Paint instructions.
I asked on the m/l about the html <canvas> tag https://www.w3schools.com/tags/ref_canvas.asp
and if anything had been done with it as it looks like it could be a Paint alternative for web and Benoit went and did something with it
It's very WIP at present but it's going to open up all manner of things for us
I got it to do this...
http://138.68.116.47/cgi-bin/WebDrawingArea.gambas
That was just a tester i've been playing with but hand painted buttons and the like are soon to be possible
Well wishes
Bruce
We now have a WIP WebDrawingArea :o
- BruceSteers
- Posts: 1615
- Joined: Thursday 23rd July 2020 5:20pm
- Location: Isle of Wight
- Contact:
We now have a WIP WebDrawingArea :o
If at first you don't succeed , try doing something differently.
BruceS
BruceS
- BruceSteers
- Posts: 1615
- Joined: Thursday 23rd July 2020 5:20pm
- Location: Isle of Wight
- Contact:
Re: We now have a WIP WebDrawingArea :o
My gambas coding must be improving.
I added Gradients to WebDrawingArea and didn't have to change a whole load of things to make it acceptable to Benoit
So Gradients are coming real soon
Next will be Painting text with gradients if wanted.
then supporting using images/patterns for Paint.Fill/Stroke
Personally i think this is all pretty exciting for gb.web.gui users
I added Gradients to WebDrawingArea and didn't have to change a whole load of things to make it acceptable to Benoit
So Gradients are coming real soon
Next will be Painting text with gradients if wanted.
then supporting using images/patterns for Paint.Fill/Stroke
Personally i think this is all pretty exciting for gb.web.gui users
- Attachments
-
- Untitled.png (197.77 KiB) Viewed 7163 times
If at first you don't succeed , try doing something differently.
BruceS
BruceS
- BruceSteers
- Posts: 1615
- Joined: Thursday 23rd July 2020 5:20pm
- Location: Isle of Wight
- Contact:
Re: We now have a WIP WebDrawingArea :o
I made a hand drawn web version of the gradient button
My implementation of Painting the text is a bit rubbish but it sort of works for now until Ben make a proper version
http://bws.org.uk/cgi-bin/WebDrawingArea.gambas
It's a brave new world
My implementation of Painting the text is a bit rubbish but it sort of works for now until Ben make a proper version
http://bws.org.uk/cgi-bin/WebDrawingArea.gambas
It's a brave new world
If at first you don't succeed , try doing something differently.
BruceS
BruceS