diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-04-13 20:03:39 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-04-13 20:03:39 +0000 |
| commit | 569cdd4e0fa853f013c3b9f868ef0ef890005b29 (patch) | |
| tree | d7cbbf389cfb1ab9fb27d5c043526b3041d96723 /paper.h | |
| parent | 093ff06eca116ac8d6dfa01d5d25473f91dc2d11 (diff) | |
| download | halibut-569cdd4e0fa853f013c3b9f868ef0ef890005b29.zip halibut-569cdd4e0fa853f013c3b9f868ef0ef890005b29.tar.gz halibut-569cdd4e0fa853f013c3b9f868ef0ef890005b29.tar.bz2 halibut-569cdd4e0fa853f013c3b9f868ef0ef890005b29.tar.xz | |
Implemented lines under chapter titles.
[originally from svn r4065]
Diffstat (limited to 'paper.h')
| -rw-r--r-- | paper.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -19,6 +19,7 @@ typedef struct subfont_map_entry_Tag subfont_map_entry; typedef struct text_fragment_Tag text_fragment; typedef struct xref_Tag xref; typedef struct xref_dest_Tag xref_dest; +typedef struct rect_Tag rect; /* * This data structure represents the overall document, in the form @@ -227,6 +228,12 @@ struct page_data_Tag { xref *first_xref; xref *last_xref; /* + * Rectangles to be drawn. (These are currently only used for + * underlining chapter titles and drawing horizontal rules.) + */ + rect *first_rect; + rect *last_rect; + /* * This spare pointer field is for use by the client backends. */ void *spare; @@ -252,6 +259,11 @@ struct xref_Tag { xref_dest dest; }; +struct rect_Tag { + rect *next; + int x, y, w, h; +}; + /* * Functions and data exported from psdata.c. */ |