Sun, 04 Apr 2021 16:54:03 +0200
Updated BBC micro:bit APIs for V2.
# -*- coding: utf-8 -*- # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module containing stubs for API generation of the def 'framebuf' module. """ MONO_VLSB = 0 MONO_HLSB = 0 MONO_HMSB = 0 RGB565 = 0 GS2_HMSB = 0 GS4_HMSB = 0 GS8 = 0 class FrameBuffer(): def __init__(self, buffer, width, height, format, stride=None): pass def fill(self, c): pass def pixel(self, x, y, c=None): pass def hline(self, x, y, w, c): pass def vline(self, x, y, h, c): pass def line(self, x1, y1, x2, y2, c): pass def rect(self, x, y, w, h, c): pass def fill_rect(self, x, y, w, h, c): pass def text(self, s, x, y, c=None): pass def scroll(self, xstep, ystep): pass def blit(self, fbuf, x, y, key=None): pass