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

Anti-aliased filled triangle parameters. More...

#include <ra8_drw.h>

Data Fields

int16_t x0
 Vertex 0 X.
int16_t y0
 Vertex 0 Y.
int16_t x1
 Vertex 1 X.
int16_t y1
 Vertex 1 Y.
int16_t x2
 Vertex 2 X.
int16_t y2
 Vertex 2 Y.
uint32_t color_argb8888
 Fill colour.

Detailed Description

Anti-aliased filled triangle parameters.

Three vertices in pixel space. HUM Ch 62.4.5 "Triangles" p 3726 uses LIM1..LIM3 with all-intersect to bound a filled triangle.

Definition at line 185 of file ra8_drw.h.

Field Documentation

◆ color_argb8888

uint32_t ra8_drw_triangle_t::color_argb8888

Fill colour.

Definition at line 192 of file ra8_drw.h.

Referenced by ra8_drw_draw_triangle().

◆ x0

int16_t ra8_drw_triangle_t::x0

Vertex 0 X.

Definition at line 186 of file ra8_drw.h.

Referenced by ra8_drw_draw_triangle().

◆ x1

int16_t ra8_drw_triangle_t::x1

Vertex 1 X.

Definition at line 188 of file ra8_drw.h.

Referenced by ra8_drw_draw_triangle().

◆ x2

int16_t ra8_drw_triangle_t::x2

Vertex 2 X.

Definition at line 190 of file ra8_drw.h.

Referenced by ra8_drw_draw_triangle().

◆ y0

int16_t ra8_drw_triangle_t::y0

Vertex 0 Y.

Definition at line 187 of file ra8_drw.h.

Referenced by ra8_drw_draw_triangle().

◆ y1

int16_t ra8_drw_triangle_t::y1

Vertex 1 Y.

Definition at line 189 of file ra8_drw.h.

Referenced by ra8_drw_draw_triangle().

◆ y2

int16_t ra8_drw_triangle_t::y2

Vertex 2 Y.

Definition at line 191 of file ra8_drw.h.

Referenced by ra8_drw_draw_triangle().


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