My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cyrillic_char_set.h 1.7KB

1234567891011121314151617181920212223242526272829303132
  1. /**********************
  2. * cyrillic_char_set.h *
  3. **********************/
  4. /****************************************************************************
  5. * Written By Kirill Shashlov 2020 *
  6. * Marcio Teixeira 2019 - Aleph Objects, Inc. *
  7. * *
  8. * This program is free software: you can redistribute it and/or modify *
  9. * it under the terms of the GNU General Public License as published by *
  10. * the Free Software Foundation, either version 3 of the License, or *
  11. * (at your option) any later version. *
  12. * *
  13. * This program is distributed in the hope that it will be useful, *
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of *
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
  16. * GNU General Public License for more details. *
  17. * *
  18. * To view a copy of the GNU General Public License, go to the following *
  19. * location: <https://www.gnu.org/licenses/>. *
  20. ****************************************************************************/
  21. namespace FTDI {
  22. class CyrillicCharSet {
  23. private:
  24. static uint32_t bitmap_addr;
  25. public:
  26. static uint32_t load_data(uint32_t addr);
  27. static void load_bitmaps(CommandProcessor&);
  28. static bool render_glyph(CommandProcessor*, int &x, int &y, font_size_t, utf8_char_t);
  29. };
  30. }