aboutsummaryrefslogtreecommitdiffstats
path: root/src/cnki.h
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2022-12-26 03:46:01 +0000
committeryzrh <yzrh@noema.org>2022-12-28 19:29:46 +0000
commitabce2fd2e4f8089779fb9b1dce94133716b0bb39 (patch)
tree1bbc6005064a70201e2ea1860fc29b21b93a050a /src/cnki.h
parent224a09a015de72f56ee86841504575fe474c6260 (diff)
downloadmelon-abce2fd2e4f8089779fb9b1dce94133716b0bb39.tar.gz
melon-abce2fd2e4f8089779fb9b1dce94133716b0bb39.tar.zst
Add preliminary support for HN figure placement.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/cnki.h')
-rw-r--r--src/cnki.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cnki.h b/src/cnki.h
index 193e69b..e9cc5d1 100644
--- a/src/cnki.h
+++ b/src/cnki.h
@@ -58,6 +58,10 @@ typedef struct _hn_image_t {
int32_t format; /* hn_code */
int32_t address;
int32_t size;
+ int16_t x;
+ int16_t y;
+ int16_t w;
+ int16_t h;
char *image;
} hn_image_t;