mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
man page syntax
This commit is contained in:
parent
e061686eda
commit
1f713c4e47
@ -109,20 +109,20 @@ is assumed to be 80x24 cells). Further ncplanes can be created with
|
||||
and new ncplanes are placed at the top of the z-buffer. Ncplanes can be larger,
|
||||
smaller, or the same size as the physical screen, and can be placed anywhere
|
||||
relative to it (including entirely off-screen). Ncplanes are made up of
|
||||
`nccell`s (see [NcCells][] below). Information on ncplanes is available at
|
||||
**nccell**s (see [NcCells][] below). Information on ncplanes is available at
|
||||
**notcurses_plane(3)**.
|
||||
|
||||
## NcCells
|
||||
|
||||
`nccell`s make up the framebuffers backing each ncplane, one cell per
|
||||
**nccell**s make up the framebuffers backing each ncplane, one cell per
|
||||
coordinate, one extended grapheme cluster (see **unicode(7)**) per cell. An
|
||||
`nccell` consists of a gcluster (either a directly-encoded 7-bit ASCII
|
||||
**nccell** consists of a gcluster (either a directly-encoded 7-bit ASCII
|
||||
character (see **ascii(7)**), or a 25-bit index into the ncplane's egcpool), a
|
||||
set of attributes, and two channels (one for the foreground, and one for the
|
||||
background—see **notcurses_channels(3)**). Information on cells is available at
|
||||
**notcurses_cell(3)**.
|
||||
|
||||
It is not usually necessary for users to interact directly with `nccell`s. They
|
||||
It is not usually necessary for users to interact directly with **nccell**s. They
|
||||
are typically encountered when retrieving data from ncplanes or the rendered
|
||||
scene (see e.g. **ncplane_at_yx(3)**), or to achieve peak performance when a
|
||||
particular EGC is heavily reused within a plane.
|
||||
|
@ -102,9 +102,9 @@ foreground channel and ***bchan*** as the background channel.
|
||||
|
||||
# RETURN VALUES
|
||||
|
||||
Functions returning `int` return -1 on failure, or 0 on success. Failure is
|
||||
always due to invalid inputs. Functions returning `bool` are predicates, and
|
||||
return the requested value. Functions returning `unsigned` forms return the
|
||||
Functions returning **int** return -1 on failure, or 0 on success. Failure is
|
||||
always due to invalid inputs. Functions returning **bool** are predicates, and
|
||||
return the requested value. Functions returning **unsigned** forms return the
|
||||
input, modified as requested.
|
||||
|
||||
**ncchannels_reverse** inverts the color components of the two channels,
|
||||
|
Loading…
x
Reference in New Issue
Block a user