aboutsummaryrefslogtreecommitdiff
path: root/host/bdf.h
blob: c81277e0b1761399c1bca7b3ef7229f66e3cb664 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __MAIN_H__
#define __MAIN_H__

#include "color.h"
#include "font.h"

int framebuffer_get_text_bounds(char *s, glyphtable_t *glyph_table, size_t *outw, size_t *outh);
int framebuffer_render_text(char *s, glyphtable_t *glyph_table, color_t *gbuf, size_t gbufwidth, size_t gbufheight, size_t offx);
void console_render_buffer(color_t *data, size_t w, size_t h);

#endif//__MAIN_H__