2020-01-16 20:45:47 +01:00
|
|
|
module sfons
|
|
|
|
|
2021-12-06 21:39:43 +01:00
|
|
|
import fontstash
|
|
|
|
|
|
|
|
fn C.sfons_create(width int, height int, flags int) &fontstash.Context
|
|
|
|
fn C.sfons_destroy(ctx &fontstash.Context)
|
2020-01-16 20:45:47 +01:00
|
|
|
fn C.sfons_rgba(r byte, g byte, b byte, a byte) u32
|
2021-12-06 21:39:43 +01:00
|
|
|
fn C.sfons_flush(ctx &fontstash.Context)
|