GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_display_st77xx.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later
2/*
3 * Copyright (C) 2025 Cyril Hrubis <metan@ucw.cz>
4 */
5
11#ifndef GP_DISPLAY_ST77XX_H
12#define GP_DISPLAY_ST77XX_H
13
14#include <stdint.h>
15
45
56gp_backend *gp_display_st77xx_init(uint16_t w, uint16_t h, uint16_t x_off, uint16_t y_off,
57 unsigned int dpi, enum gp_display_st77xx_flags flags);
58
59#endif /* GP_DISPLAY_ST77XX_H */
gp_backend * gp_display_st77xx_init(uint16_t w, uint16_t h, uint16_t x_off, uint16_t y_off, unsigned int dpi, enum gp_display_st77xx_flags flags)
Initialize st77xx display driver.
gp_display_st77xx_flags
Display quirks.
@ GP_DISPLAY_ST77XX_BGR
Switch between RGB and BGR.
@ GP_DISPLAY_ST77XX_MIRROR_X
Mirrors X.
@ GP_DISPLAY_ST77XX_INV
Enable inverse mode.
@ GP_DISPLAY_ST77XX_MIRROR_Y
Mirrors Y.
A backend.
Definition gp_backend.h:175