PageRenderTime 13ms CodeModel.GetById 8ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/contrib/groff/src/preproc/pic/text.h

https://bitbucket.org/freebsd/freebsd-head/
C++ Header | 28 lines | 22 code | 5 blank | 1 comment | 0 complexity | 3a0ef9d3a2f2b5097f24a60bff64322c MD5 | raw file
 1// -*- C++ -*-
 2
 3enum hadjustment {
 4  CENTER_ADJUST,
 5  LEFT_ADJUST,
 6  RIGHT_ADJUST
 7  };
 8
 9enum vadjustment {
10  NONE_ADJUST,
11  ABOVE_ADJUST,
12  BELOW_ADJUST
13  };
14
15struct adjustment {
16  hadjustment h;
17  vadjustment v;
18};
19
20struct text_piece {
21  char *text;
22  adjustment adj;
23  const char *filename;
24  int lineno;
25
26  text_piece();
27  ~text_piece();
28};