package vendor:stb/easy_font
Index
Types (4)
Constants (0)
This section is empty.
Variables (0)
This section is empty.
Types
info_struct ¶
info_struct :: struct { advance: u8, h_seg: u8, v_seg: u8, }
Constants
This section is empty.
Variables
This section is empty.
Procedures
draw_segs_quad_buffer ¶
draw_segs_quad_buffer :: proc "odin" ( x, y: f32, segs: []u8, vertical: bool, c: [4]u8, buf: []Quad, start_offset: int, ) -> (quads: int) {…}
Same memory layout, but takes a []quad instead of []byte
draw_segs_vertex_buffer ¶
draw_segs_vertex_buffer :: proc "odin" ( x, y: f32, segs: []u8, vertical: bool, c: [4]u8, vbuf: []u8, start_offset: int, ) -> (offset: int) {…}
Compatible with original C API
font_spacing ¶
font_spacing :: proc "odin" (spacing: f32) {…}
print_quad_buffer ¶
print_quad_buffer :: proc "odin" ( x, y: f32, text: string, color: [4]u8, quad_buffer: []Quad, ) -> (quads: int) {…}
Same memory layout, but takes a []quad instead of []byte
print_vertex_buffer ¶
print_vertex_buffer :: proc "odin" ( x, y: f32, text: string, color: [4]u8, vertex_buffer: []u8, ) -> int {…}
Compatible with original C API
Procedure Groups
draw_segs ¶
draw_segs :: proc{ draw_segs_quad_buffer, draw_segs_vertex_buffer, }
print ¶
print :: proc{ print_quad_buffer, print_vertex_buffer, }
Source Files
Generation Information
Generated with odin version dev-2023-01 (vendor "odin") Windows_amd64 @ 2023-01-15 21:08:15.433619100 +0000 UTC