MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / DefaultFont

Function DefaultFont

LibLemon/src/gfx/text.cpp:82–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 Font* DefaultFont(){
83 return mainFont;
84 }
85
86 int DrawString(const char* str, int x, int y, uint8_t r, uint8_t g, uint8_t b, surface_t* surface, rect_t limits, Font* font) {
87 if(y >= surface->height || x >= surface->width || y >= limits.y + limits.height || x >= limits.x + limits.width) return 0;

Callers 4

PaintMethod · 0.85
TextObjectClass · 0.85
graphics.hFile · 0.85
TextBoxClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected