def render_box_drawing(codepoint: int, cell_width: int, cell_height: int, dpi: float) -> Tuple[int, ctypes.Array]: CharTexture = ctypes.c_ubyte * (cell_width * cell_height) buf = CharTexture() render_box_char(chr(codepoint), cast(BufType, buf), cell_width, cell_height, dpi) return ctypes.addressof(buf), buf
def render_box_drawing(codepoint): s = set_font_family.state cell_width, cell_height = s.cell_width, s.cell_height CharTexture = ctypes.c_ubyte * (cell_width * cell_height) buf = render_box_char(chr(codepoint), CharTexture(), cell_width, cell_height) return ctypes.addressof(buf), buf
def render_box_drawing(codepoint, cell_width, cell_height, dpi): CharTexture = ctypes.c_ubyte * (cell_width * cell_height) buf = render_box_char(chr(codepoint), CharTexture(), cell_width, cell_height, dpi) return ctypes.addressof(buf), buf