version 1.112, 2015/04/02 23:48:20 |
version 1.114, 2015/04/29 18:35:00 |
|
|
int overstep; /* See termp_flushln(). */ |
int overstep; /* See termp_flushln(). */ |
int skipvsp; /* Vertical space to skip. */ |
int skipvsp; /* Vertical space to skip. */ |
int flags; |
int flags; |
#define TERMP_SENTENCE (1 << 1) /* Space before a sentence. */ |
#define TERMP_SENTENCE (1 << 0) /* Space before a sentence. */ |
#define TERMP_NOSPACE (1 << 2) /* No space before words. */ |
#define TERMP_NOSPACE (1 << 1) /* No space before words. */ |
#define TERMP_NONOSPACE (1 << 3) /* No space (no autounset). */ |
#define TERMP_NONOSPACE (1 << 2) /* No space (no autounset). */ |
#define TERMP_NBRWORD (1 << 4) /* Make next word nonbreaking. */ |
#define TERMP_NBRWORD (1 << 3) /* Make next word nonbreaking. */ |
#define TERMP_KEEP (1 << 5) /* Keep words together. */ |
#define TERMP_KEEP (1 << 4) /* Keep words together. */ |
#define TERMP_PREKEEP (1 << 6) /* ...starting with the next one. */ |
#define TERMP_PREKEEP (1 << 5) /* ...starting with the next one. */ |
#define TERMP_SKIPCHAR (1 << 7) /* Skip the next character. */ |
#define TERMP_BACKAFTER (1 << 6) /* Back up after next character. */ |
|
#define TERMP_BACKBEFORE (1 << 7) /* Back up before next character. */ |
#define TERMP_NOBREAK (1 << 8) /* See term_flushln(). */ |
#define TERMP_NOBREAK (1 << 8) /* See term_flushln(). */ |
#define TERMP_BRIND (1 << 9) /* See term_flushln(). */ |
#define TERMP_BRIND (1 << 9) /* See term_flushln(). */ |
#define TERMP_DANGLE (1 << 10) /* See term_flushln(). */ |
#define TERMP_DANGLE (1 << 10) /* See term_flushln(). */ |
|
|
void (*end)(struct termp *); |
void (*end)(struct termp *); |
void (*endline)(struct termp *); |
void (*endline)(struct termp *); |
void (*advance)(struct termp *, size_t); |
void (*advance)(struct termp *, size_t); |
void (*setwidth)(struct termp *, int, size_t); |
void (*setwidth)(struct termp *, int, int); |
size_t (*width)(const struct termp *, int); |
size_t (*width)(const struct termp *, int); |
double (*hspan)(const struct termp *, |
int (*hspan)(const struct termp *, |
const struct roffsu *); |
const struct roffsu *); |
const void *argf; /* arg for headf/footf */ |
const void *argf; /* arg for headf/footf */ |
struct termp_ps *ps; |
struct termp_ps *ps; |