package vendor:stb/easy_font
⌘K
Ctrl+K
or
/
Index
Types (4)
Constants (0)
This section is empty.
Variables (0)
This section is empty.
Types
Constants
This section is empty.
Variables
This section is empty.
Procedures
draw_segs_quad_buffer ¶
draw_segs_quad_buffer :: proc( x, y: f32, segs: []u8, vertical: bool, c: [4]u8, buf: []Quad, start_offset: int, scale: f32 = f32(1.0), ) -> (quads: int) {…}
Same memory layout, but takes a []quad instead of []byte
draw_segs_vertex_buffer ¶
draw_segs_vertex_buffer :: proc( x, y: f32, segs: []u8, vertical: bool, c: [4]u8, vbuf: []u8, start_offset: int, scale: f32 = f32(1.0), ) -> (offset: int) {…}
Compatible with original C API
font_spacing ¶
font_spacing :: proc(spacing: f32) {…}
print_quad_buffer ¶
print_quad_buffer :: proc( x, y: f32, text: string, color: [4]u8, quad_buffer: []Quad, scale: f32 = f32(1.0), ) -> (quads: int) {…}
Same memory layout, but takes a []quad instead of []byte
print_vertex_buffer ¶
print_vertex_buffer :: proc( x, y: f32, text: string, color: [4]u8, vertex_buffer: []u8, scale: f32 = f32(1.0), ) -> 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-2024-12 (vendor "odin") Windows_amd64 @ 2024-12-20 21:10:47.871885500 +0000 UTC