CircuitPython/fontio.py

changeset 6
81a2208f13e4
child 7
e336d6afc5a6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CircuitPython/fontio.py	Wed Aug 28 19:53:19 2019 +0200
@@ -0,0 +1,24 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the 'fontio' module.
+"""
+
+class BuiltinFont():
+    @property
+    def bitmap(self):
+        pass
+    
+    def get_bounding_box(self):
+        pass
+    
+    def get_glyph(self, codepoint):
+        pass
+
+class Glyph():
+    def __init__(self, bitmap, tile_index, width, height, dx, dy, shift_x,
+                 shift_y):
+        pass

eric ide

mercurial