diff options
author | Vincent Sanders <vince@kyllikki.org> | 2018-02-08 23:43:19 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2018-02-08 23:43:19 +0000 |
commit | d9bf14b9a1a5fa5770808c18d8039da0fb34021c (patch) | |
tree | 5d5c7941a852e137e624b341c79fb0f321d6506c /src/graphics_state.h | |
parent | 24f990ef17253074f3d667a8d4c88efd2fb1d4f6 (diff) | |
download | libnspdf-d9bf14b9a1a5fa5770808c18d8039da0fb34021c.tar.gz libnspdf-d9bf14b9a1a5fa5770808c18d8039da0fb34021c.tar.bz2 |
fix line width scaling
Diffstat (limited to 'src/graphics_state.h')
-rw-r--r-- | src/graphics_state.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/graphics_state.h b/src/graphics_state.h index e5cc2bf..40060dd 100644 --- a/src/graphics_state.h +++ b/src/graphics_state.h @@ -52,7 +52,17 @@ struct graphics_state_param { struct { struct graphics_state_color colour; } other; - /* text state */ + /** text state */ + struct { + float charspacing; + float wordspacing; + float hscale; + float leading; + float fontsize; + unsigned int rendermode; + float rise; + /* knockout */ + } text; float line_width; unsigned int line_cap; unsigned int line_join; |