CircuitPython/fontio.py

Thu, 29 Aug 2019 19:05:05 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 29 Aug 2019 19:05:05 +0200
changeset 7
e336d6afc5a6
parent 6
81a2208f13e4
permissions
-rw-r--r--

CircuitPython: added more stub files.

# -*- coding: utf-8 -*-

# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module containing stubs for API generation of the 'fontio' module.
"""

class BuiltinFont():
    bitmap = object()
    
    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