You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
701 B
Cython
25 lines
701 B
Cython
1 year ago
|
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
|
||
|
|
||
|
# Local Variables:
|
||
|
# mode: python
|
||
|
# End:
|