跳转至

CFBDGraphic_Text

Module: Text Widget System

#include <text.h>

Public Attributes

Name
char * sources_borrowed
Text string pointer (borrowed - caller owns memory)
CFBDGraphic_Point tl_point
Top-left corner position of text area in pixels.
CFBDGraphic_Point indexed_point
Current position for next character (internal state)
CFBDGraphicSize TexthandleSize
Allocated size of text rendering area (width x height) in pixels.
Ascii_Font_Size font_size
Selected font size for text rendering.
CFBDGraphicRect text_bounding_rect
Bounding rectangle of rendered text (calculated during draw)
CFBD_Bool no_wrap

Public Attributes Documentation

variable sources_borrowed

char * sources_borrowed;

Text string pointer (borrowed - caller owns memory)

Zero-terminated C string, must remain valid during rendering

variable tl_point

CFBDGraphic_Point tl_point;

Top-left corner position of text area in pixels.

variable indexed_point

CFBDGraphic_Point indexed_point;

Current position for next character (internal state)

Tracks insertion point during multiline rendering

variable TexthandleSize

CFBDGraphicSize TexthandleSize;

Allocated size of text rendering area (width x height) in pixels.

Constrains text layout and line wrapping

variable font_size

Ascii_Font_Size font_size;

Selected font size for text rendering.

Determines character dimensions (6x8 or 8x16 pixels)

variable text_bounding_rect

CFBDGraphicRect text_bounding_rect;

Bounding rectangle of rendered text (calculated during draw)

variable no_wrap

CFBD_Bool no_wrap;

Updated on 2026-02-03 at 13:21:55 +0000