PageRenderTime 12ms CodeModel.GetById 1ms app.highlight 6ms RepoModel.GetById 2ms app.codeStats 0ms

/contrib/groff/src/devices/xditview/device.h

https://bitbucket.org/freebsd/freebsd-head/
C++ Header | 21 lines | 18 code | 3 blank | 0 comment | 0 complexity | 124e95f8a9a57a7b45b0bae56588557b MD5 | raw file
 1
 2typedef struct _DeviceFont DeviceFont;
 3
 4typedef struct _Device {
 5    char *name;
 6    int sizescale;
 7    int res;
 8    int unitwidth;
 9    int paperlength;
10    int paperwidth;
11    int X11;
12    DeviceFont *fonts;
13} Device;
14
15void device_destroy(Device *);
16Device *device_load(const char *);
17DeviceFont *device_find_font(Device *, const char *);
18int device_char_width(DeviceFont *, int, const char *, int *);
19char *device_name_for_code(DeviceFont *, int);
20int device_code_width(DeviceFont *, int, int, int *);
21int device_font_special(DeviceFont *);