CircuitPython/fontio.py

changeset 6
81a2208f13e4
child 7
e336d6afc5a6
equal deleted inserted replaced
5:f88ec514175f 6:81a2208f13e4
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module containing stubs for API generation of the 'fontio' module.
8 """
9
10 class BuiltinFont():
11 @property
12 def bitmap(self):
13 pass
14
15 def get_bounding_box(self):
16 pass
17
18 def get_glyph(self, codepoint):
19 pass
20
21 class Glyph():
22 def __init__(self, bitmap, tile_index, width, height, dx, dy, shift_x,
23 shift_y):
24 pass

eric ide

mercurial