ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_drw_line_t Struct Reference

Anti-aliased line parameters. More...

#include <ra8_drw.h>

Data Fields

int16_t x0
 End-point 0 X in pixels.
int16_t y0
 End-point 0 Y in pixels.
int16_t x1
 End-point 1 X in pixels.
int16_t y1
 End-point 1 Y in pixels.
uint16_t width_px
 Stroke width in pixels.
uint32_t color_argb8888
 0xAARRGGBB stroke colour.

Detailed Description

Anti-aliased line parameters.

Two end-points and a stroke width. HUM Ch 62.4.4 "Lines" p 3725 documents the 6-limiter encoding the engine uses internally; this driver pre-computes those limiters from (x0,y0,x1,y1,width).

Definition at line 168 of file ra8_drw.h.

Field Documentation

◆ color_argb8888

uint32_t ra8_drw_line_t::color_argb8888

0xAARRGGBB stroke colour.

Definition at line 174 of file ra8_drw.h.

Referenced by ra8_drw_draw_line().

◆ width_px

uint16_t ra8_drw_line_t::width_px

Stroke width in pixels.

Definition at line 173 of file ra8_drw.h.

Referenced by internal_program_line_limiters(), and ra8_drw_draw_line().

◆ x0

int16_t ra8_drw_line_t::x0

End-point 0 X in pixels.

Definition at line 169 of file ra8_drw.h.

Referenced by internal_program_line_limiters(), and ra8_drw_draw_line().

◆ x1

int16_t ra8_drw_line_t::x1

End-point 1 X in pixels.

Definition at line 171 of file ra8_drw.h.

Referenced by internal_program_line_limiters(), and ra8_drw_draw_line().

◆ y0

int16_t ra8_drw_line_t::y0

End-point 0 Y in pixels.

Definition at line 170 of file ra8_drw.h.

Referenced by internal_program_line_limiters(), and ra8_drw_draw_line().

◆ y1

int16_t ra8_drw_line_t::y1

End-point 1 Y in pixels.

Definition at line 172 of file ra8_drw.h.

Referenced by internal_program_line_limiters(), and ra8_drw_draw_line().


The documentation for this struct was generated from the following file: