changeset 23171:deb1b445110a

Don't recalculate rotation radius.
author eugeni
date Tue, 01 May 2007 15:05:20 +0000
parents 15a05bafc9c7
children 37cf8cb6d6a3
files libass/ass_render.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Tue May 01 14:29:28 2007 +0000
+++ b/libass/ass_render.c	Tue May 01 15:05:20 2007 +0000
@@ -1963,8 +1963,8 @@
 
 			if (info->bm == 0) {
 				// calculating shift vector
-				shift.x = int_to_d6(info->pos.x + device_x - center.x);
-				shift.y = - int_to_d6(info->pos.y + device_y - center.y);
+				shift.x = int_to_d6(info->hash_key.shift_x);
+				shift.y = int_to_d6(info->hash_key.shift_y);
 
 				transform_3d(shift, &info->glyph, &info->outline_glyph, info->frx, info->fry, info->frz);
 			}