mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 23:55:39 +00:00
06217c532056c0bb3c5a808b403bdca108f84e74
We'd like to improve the API of Flex, Stack and similar layouts that use MacroOps internall. Unfortunately, the func (m MacroOp) Add(o *Ops) method causes the MacroOp to be allocated on the heap, ruining the nice garbage-free property of layouts. Fortunately, layouts don't need the feature that caused the heap allocation: invoking operation lists different than the current. CallOp separates the invoke-different-list semantic from MacroOp, in preparation for removing the feature from MacroOp. Signed-off-by: Elias Naur <mail@eliasnaur.com>
text: add Metrics method to Face interface. font/opentype: implement Metrics method for Font struct.
text: add Metrics method to Face interface. font/opentype: implement Metrics method for Font struct.
Gio
Immediate mode GUI programs in Go for Android, iOS, macOS, Linux, FreeBSD, Windows, and WebAssembly (experimental). See gioui.org for details and documentation.
Issues
File bugs and TODOs through the issue tracker or send an email to ~eliasnaur/gio@todo.sr.ht. For general discussion, use the mailing list: ~eliasnaur/gio@lists.sr.ht.
Contributing
Post discussion to the mailing list and patches to gio-patches. No Sourcehut account is required and you can post without being subscribed.
See the contribution guide for more details.
License
Description
Languages
Go
89.6%
C
7%
Java
1.7%
Objective-C
1.6%