# cython: language_level=3str from . cimport cppinc cdef class Canvas: cdef cppinc.Canvas *_getCanvas(self) except * cdef class FrameCanvas(Canvas): cdef cppinc.FrameCanvas *__canvas cdef class RGBMatrix(Canvas): cdef cppinc.RGBMatrix *__matrix cdef class RGBMatrixOptions: cdef cppinc.Options __options cdef cppinc.RuntimeOptions __runtime_options # Must keep a reference to the encoded bytes for the strings, # otherwise, when the Options struct is used, it will be garbage collected cdef bytes __py_encoded_hardware_mapping cdef bytes __py_encoded_led_rgb_sequence cdef bytes __py_encoded_pixel_mapper_config cdef bytes __py_encoded_panel_type cdef bytes __py_encoded_drop_priv_user cdef bytes __py_encoded_drop_priv_group # Local Variables: # mode: python # End: