allocateInto method
Implementation
@override
void allocateInto(RaylibTemp temp, Pointer<FontC> p, String key) {
p.ref.baseSize = baseSize;
p.ref.glyphCount = glyphCount;
p.ref.glyphPadding = glyphPadding;
p.ref.texture.setD(texture);
p.ref.recs = temp.Rectangle$.RawArray(recs);
p.ref.glyphs = temp.GlyphInfo$.RawFillInto(glyphs.length, (i, g) {
g.value = glyphs[i].value;
g.offsetX = glyphs[i].offsetX;
g.offsetY = glyphs[i].offsetY;
g.advanceX = glyphs[i].advanceX;
g.image.setD(glyphs[i].image);
});
}