(self,text,x,y,color)
| 76 | self.rows = int(self.yres/self.font_height) |
| 77 | |
| 78 | def render_text(self,text,x,y,color): |
| 79 | if self.font == self.Font8x8: |
| 80 | self.display.text(text, x, y, color) |
| 81 | else: |
| 82 | for c in text: |
| 83 | self.render_4x6_char(c, x, y, color) |
| 84 | x += self.font_width |
| 85 | |
| 86 | def render_4x6_char(self,c,px,py,color): |
| 87 | idx = ord(c) |
no test coverage detected