Module font

Procs

proc draw(self: Font; canvasItem: RID; position: Vector2; string: string;
         modulate: Color = initColor(1.0, 1.0, 1.0, 1.0); clipW: int64 = -1'i64;
         outlineModulate: Color = initColor(1.0, 1.0, 1.0, 1.0)) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getAscent(self: Font): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getDescent(self: Font): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getHeight(self: Font): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isDistanceFieldHint(self: Font): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getStringSize(self: Font; string: string): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasOutline(self: Font): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc drawChar(self: Font; canvasItem: RID; position: Vector2; char: int64;
             next: int64 = -1'i64; modulate: Color = initColor(1.0, 1.0, 1.0, 1.0);
             outline: bool = false): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc updateChanges(self: Font) {.
gcsafe, locks: 0, raises: [], tags: []
.}