1 # SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams
3 # SPDX-License-Identifier: MIT
7 ================================================================================
9 Struct Data Classes for Blinka Displayio
11 **Software and Dependencies:**
14 https://github.com/adafruit/Adafruit_Blinka/releases
16 * Author(s): Melissa LeBlanc-Williams
20 from dataclasses import dataclass
22 __version__ = "0.0.0-auto.0"
23 __repo__ = "https://github.com/adafruit/Adafruit_Blinka_Displayio.git"
26 class RectangleStruct:
33 class TransformStruct:
39 transpose_xy: bool = False
40 mirror_x: bool = False
41 mirror_y: bool = False
44 class ColorspaceStruct:
46 bytes_per_cell: int = 0
48 tricolor_luma: int = 0
49 grayscale_bit: int = 0
50 grayscale: bool = False
51 tricolor: bool = False
52 pixels_in_byte_share_row: bool = False
53 reverse_pixels_in_byte: bool = False
54 reverse_bytes_in_word: bool = False