|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Rectangle parameters for ra8_drw_fill_rect. More...
#include <ra8_drw.h>
Data Fields | |
| int16_t | x |
| Top-left X in pixels. | |
| int16_t | y |
| Top-left Y in pixels. | |
| uint16_t | width_px |
| Width in pixels. | |
| uint16_t | height_px |
| Height in pixels. | |
| uint32_t | color_argb8888 |
| 0xAARRGGBB fill colour. | |
Rectangle parameters for ra8_drw_fill_rect.
Coordinates are framebuffer pixels relative to the framebuffer origin programmed at init time. color_argb8888 is interpreted as 0xAARRGGBB and pushed into the COLOR1 register.
| uint32_t ra8_drw_rect_t::color_argb8888 |
0xAARRGGBB fill colour.
Definition at line 101 of file ra8_drw.h.
Referenced by ra8_drw_dlist_add_fill(), and ra8_drw_fill_rect().
| uint16_t ra8_drw_rect_t::height_px |
Height in pixels.
Definition at line 100 of file ra8_drw.h.
Referenced by priv_program_rect_bbox(), ra8_drw_blit_textured_rect(), ra8_drw_dlist_add_fill(), and ra8_drw_fill_rect().
| uint16_t ra8_drw_rect_t::width_px |
Width in pixels.
Definition at line 99 of file ra8_drw.h.
Referenced by priv_program_rect_bbox(), priv_ra8_drw_internal_rect_off_surface(), ra8_drw_blit_textured_rect(), ra8_drw_dlist_add_fill(), and ra8_drw_fill_rect().
| int16_t ra8_drw_rect_t::x |
Top-left X in pixels.
Definition at line 97 of file ra8_drw.h.
Referenced by priv_ra8_drw_internal_rect_off_surface(), and priv_ra8_drw_internal_rect_origin().
| int16_t ra8_drw_rect_t::y |
Top-left Y in pixels.
Definition at line 98 of file ra8_drw.h.
Referenced by priv_ra8_drw_internal_rect_off_surface(), and priv_ra8_drw_internal_rect_origin().