medfall

A super great game engine
Log | Files | Refs

text_renderer.h (337B)


      1 #pragma once
      2 
      3 #include "memory_arena.h"
      4 
      5 void text_renderer_init( MemoryArena * arena );
      6 void text_renderer_term();
      7 
      8 float text_width( const char * str, float pixel_size );
      9 
     10 void draw_text( u8 pass, const char * str, int x, int y, float pixel_size );
     11 void draw_centered_text( u8 pass, const char * str, int x, int y, float pixel_size );