summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_cache.h')
-rw-r--r--libass/ass_cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libass/ass_cache.h b/libass/ass_cache.h
index a0403d03fb..7ff75885b8 100644
--- a/libass/ass_cache.h
+++ b/libass/ass_cache.h
@@ -39,6 +39,9 @@ typedef struct bitmap_hash_key_s {
unsigned scale_x, scale_y; // 16.16
int frx, fry, frz; // signed 16.16
+ int shift_x, shift_y; // shift vector that was added to glyph before applying rotation
+ // = 0, if frx = fry = frx = 0
+ // = (glyph base point) - (rotation origin), otherwise
FT_Vector advance; // subpixel shift vector
} bitmap_hash_key_t;