Text.c 347 B

123456789101112131415161718
  1. #include "driver.h"
  2. #include "driverlib.h"
  3. void COM_Text(const char *text)
  4. {
  5. if (driver->Text) {
  6. (*driver->Text)(text);
  7. return;
  8. }
  9. if (!font_is_freetype())
  10. soft_text(cur_x, cur_y, text_size_x, text_size_y, text_rotation,
  11. text);
  12. else
  13. soft_text_freetype(cur_x, cur_y, text_size_x, text_size_y,
  14. text_rotation, text);
  15. }