5 Struct n_wrap_item
gullradriel edited this page 2026-10-09 00:55:18 +02:00

n_wrap_item

One pre-measured layout item: a glyph, an emoji cell, an inline image, or a whole word, the wrap only ever looks at width and flags.

#include "n_wrap.h"

Public Attributes

Name
double width
advance width in the caller's units (pixels, columns, ...)
unsigned int flags
N_WRAP_SPACE / N_WRAP_NEWLINE, or 0

Public Attributes Documentation

variable width

double width;

advance width in the caller's units (pixels, columns, ...)

variable flags

unsigned int flags;

N_WRAP_SPACE / N_WRAP_NEWLINE, or 0