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

One tappable rectangle covering a run of <a> glyphs on a page. More...

#include <reflow_types.h>

Data Fields

int32_t x
 Page-local left edge, pixels.
int32_t y
 Page-local top edge, pixels.
int32_t w
 Rect width, pixels.
int32_t h
 Rect height, pixels.
uint32_t target
 Index into engine->link_targets[].
uint32_t page_index
 Page this rect belongs to.

Detailed Description

One tappable rectangle covering a run of <a> glyphs on a page.

Page-local coordinates (the same space as reflow_glyph_t). A link that wraps across lines produces one rect per line segment, all pointing at the same target index in engine->link_targets[].

Definition at line 361 of file reflow_types.h.

Field Documentation

◆ h

int32_t reflow_link_rect_t::h

Rect height, pixels.

Definition at line 365 of file reflow_types.h.

Referenced by internal_emit_link_rect(), lk_probe_rect(), and reflow_hit_test_link().

◆ page_index

uint32_t reflow_link_rect_t::page_index

Page this rect belongs to.

Definition at line 367 of file reflow_types.h.

Referenced by internal_emit_link_rect(), lk_probe_rect(), and reflow_hit_test_link().

◆ target

uint32_t reflow_link_rect_t::target

Index into engine->link_targets[].

Definition at line 366 of file reflow_types.h.

Referenced by internal_emit_link_rect(), and reflow_hit_test_link().

◆ w

int32_t reflow_link_rect_t::w

Rect width, pixels.

Definition at line 364 of file reflow_types.h.

Referenced by internal_emit_link_rect(), lk_probe_rect(), and reflow_hit_test_link().

◆ x

int32_t reflow_link_rect_t::x

Page-local left edge, pixels.

Definition at line 362 of file reflow_types.h.

Referenced by internal_emit_link_rect(), lk_probe_rect(), and reflow_hit_test_link().

◆ y

int32_t reflow_link_rect_t::y

Page-local top edge, pixels.

Definition at line 363 of file reflow_types.h.

Referenced by internal_emit_link_rect(), lk_probe_rect(), and reflow_hit_test_link().


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