Skip to documentation
SLOP

tiny.filigree.GlyphAtlas

Reference tiny.filigree GlyphAtlas

Defined in font.raster.

API (9)

Actions

Public operations.

Fields and members

Public fields and members.

No direct callersNo direct callsfont.rasterAtlas
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/filigree/src/font/raster.zig:48

zig
pub const Atlas = struct {    rgba: []u8 = &.{},    width: i32 = 0,    height: i32 = 0,    glyphs: []AtlasGlyph = &.{},    recs: []Rectangle = &.{},    base_size: i32 = 0,    glyph_padding: i32 = 0,    pub fn deinitPixels(self: *Atlas, allocator: std.mem.Allocator) void {        if (self.rgba.len > 0) allocator.free(self.rgba);        self.rgba = &.{};    }    pub fn deinit(self: Atlas, allocator: std.mem.Allocator) void {        if (self.rgba.len > 0) allocator.free(self.rgba);        if (self.glyphs.len > 0) allocator.free(self.glyphs);        if (self.recs.len > 0) allocator.free(self.recs);    }};

Source: lib/filigree/src/root.zig:92

zig
pub const GlyphAtlas = font.GlyphAtlas;

Also reachable as

font.GlyphAtlas.

Audit

Definitions3
Public names9
Members7
Version26.7.0
Revisiondaab053ee433