Introduce Kern space
This commit is contained in:
@@ -12,7 +12,7 @@ namespace JabyEngine {
|
||||
va_end(list)
|
||||
|
||||
GPU::TexPage::Linked tex_page[2];
|
||||
GPU::SizeI16 font_size;
|
||||
FontInfo::RenderInfo render_info;
|
||||
GPU::PageClut clut;
|
||||
GPU::Link* last_primitive;
|
||||
|
||||
@@ -22,16 +22,16 @@ namespace JabyEngine {
|
||||
|
||||
instance.tex_page[0] = {0};
|
||||
instance.tex_page[1] = {0};
|
||||
instance.font_size = Make::SizeI16();
|
||||
instance.render_info = FontInfo::RenderInfo::empty();
|
||||
instance.clut = Make::PageClut();
|
||||
instance.last_primitive = nullptr;
|
||||
return instance;
|
||||
}
|
||||
|
||||
void setup(const SimpleTIM& vram_dst, const GPU::SizeI16& font_size);
|
||||
void setup(const SimpleTIM& vram_dst, const FontInfo::RenderInfo& font_render_info);
|
||||
|
||||
void setup(const SimpleTIM& vram_dst, const FontInfo& font_info) {
|
||||
FontWriter::setup(vram_dst, Make::SizeI16(font_info.font_size.width, font_info.font_size.height));
|
||||
FontWriter::setup(vram_dst, font_info.render_info);
|
||||
}
|
||||
|
||||
void clear();
|
||||
|
Reference in New Issue
Block a user