mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
[USAGE] update comment text
This commit is contained in:
parent
64e3444b9f
commit
65de20490f
18
USAGE.md
18
USAGE.md
@ -1807,16 +1807,18 @@ all implemented in terms of the lower-level [Channels API](#channels).
|
||||
uint64_t ncplane_channels(const struct ncplane* n);
|
||||
uint16_t ncplane_attr(const struct ncplane* n);
|
||||
|
||||
// Extract the 32-bit working background channel from an ncplane.
|
||||
static inline unsigned
|
||||
ncplane_bchannel(const struct ncplane* nc){
|
||||
return ncchannels_bchannel(ncplane_channels(nc));
|
||||
// Extract the background alpha and coloring bits from a 64-bit channel
|
||||
// pair as a single 32-bit value.
|
||||
static inline uint32_t
|
||||
ncplane_bchannel(const struct ncplane* n){
|
||||
return ncchannels_bchannel(ncplane_channels(n));
|
||||
}
|
||||
|
||||
// Extract the 32-bit working foreground channel from an ncplane.
|
||||
static inline unsigned
|
||||
ncplane_fchannel(const struct ncplane* nc){
|
||||
return ncchannels_fchannel(ncplane_channels(nc));
|
||||
// Extract the foreground alpha and coloring bits from a 64-bit channel
|
||||
// pair as a single 32-bit value.
|
||||
static inline uint32_t
|
||||
ncplane_fchannel(const struct ncplane* n){
|
||||
return ncchannels_fchannel(ncplane_channels(n));
|
||||
}
|
||||
|
||||
// Extract 24 bits of working foreground RGB from an ncplane, shifted to LSBs.
|
||||
|
Loading…
x
Reference in New Issue
Block a user