Initial project import

This commit is contained in:
Agila Forge Importer committed 2026-07-13 15:20:32 +00:00
commit 23f2d29e32
11957 files changed
+1754577

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
@[deprecated: 'module gx is deprecated, use `import gg` instead']
@[deprecated_after: '2026-01-24']
module gx
@[deprecated: 'use gg.Image']
@[deprecated_after: '2026-01-24']
pub struct Image {
mut:
obj voidptr
pub:
id int
width int
height int
}
// is_empty returns true if the Image `i` is empty.
pub fn (i Image) is_empty() bool {
return i.obj == unsafe { nil }
}