We now have a WIP WebDrawingArea :o

Post

Posted
Rating:
#1 (In Topic #881)
Guru
BruceSteers is in the usergroup ‘Guru’
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 HTML Canvas Reference
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…
WebDrawingArea

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
Online now: No Back to the top

Post

Posted
Rating:
#2
Guru
BruceSteers is in the usergroup ‘Guru’
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  :D

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  :)

Image

(Click to enlarge)

Online now: No Back to the top

Post

Posted
Rating:
#3
Guru
BruceSteers is in the usergroup ‘Guru’
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 :)
Online now: No Back to the top
1 guest and 0 members have just viewed this.