[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebDrawingArea - Paint.Text function missing


On Wed, 27 Aug 2025 at 21:16, Linus <olivier.cruilles@xxxxxxxx> wrote:

> Hello,
>
> I’m testing the Paint in a WebDrawingArea  (component gb.web.gui) and
> unfortunately there is no function into Paint. to draw a simple text.
>
> All the rest is there, Rectangle, Line, Circle, etc… but nothing for the
> Text
>
> It is a limitation of the gb.web.gui component or it is just a missing
> part?
>
> Thank you
>
> Olivier


WebDrawingArea is still a little WIP.

It was something I suggested to Benoit a few years ago and he then made an
initial basic control.
I did start to make a Paint.Text but iirc it got complicated as it then
needed a Paint.Font property.

(has a little internet search....)
Aah, I made a merge request on 30 Sept 2022 but my code probably sucked.
https://gitlab.com/gambas/gambas/-/merge_requests/282

Respects
BruceS

Follow-Ups:
Re: WebDrawingArea - Paint.Text function missingBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
WebDrawingArea - Paint.Text function missingLinus <olivier.cruilles@xxxxxxxx>