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

[Git][gambas/gambas][master] Implement a 'Paint.DrawText()' method with alignment and a Font class.



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
7d9596c5 by Benoît Minisini at 2025-08-29T22:36:46+02:00
Implement a 'Paint.DrawText()' method with alignment and a Font class.

[GB.WEB.GUI]
* BUG: Align: 'IsLeft()' and 'IsRight()' methods take 'System.RightToLeft' into account.
* NEW: Font: A new class that represents a Paint font. This is not used by the WebControl Font property.
* NEW: Paint: Add 'Font' property and 'DrawText()' method for drawing text with alignment.
* NEW: Paint: Add 'Background' property for the background color used for drawing.
* NEW: PaintBrush: Add a 'Copy()' method.
* BUG: Paint: Setting the 'Font' or the 'Brush' property makes a copy of their argument now.

- - - - -


11 changed files:

- comp/src/gb.web.gui/.app.png
- comp/src/gb.web.gui/.project
- comp/src/gb.web.gui/.src/Align.class
- + comp/src/gb.web.gui/.src/Paint/Font.class
- comp/src/gb.web.gui/.src/Paint/Paint.class
- comp/src/gb.web.gui/.src/Paint/PaintBrush.class
- comp/src/gb.web.gui/.src/Paint/PaintDriver.class
- comp/src/gb.web.gui/.src/Paint/PaintDriver_WebDrawingArea.class
- comp/src/gb.web.gui/.src/Test/FTestDrawingArea.class
- comp/src/gb.web.gui/.src/Test/FTestDrawingArea.webform
- comp/src/gb.web.gui/lib.js


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/7d9596c5d1066e56a4e94e185851835f3fa77a88

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/7d9596c5d1066e56a4e94e185851835f3fa77a88
You're receiving this email because of your account on gitlab.com.