Mercurial > mplayer.hg
comparison libass/ass_render.c @ 22209:5add218bb6c3
\r resets \frz to style value.
author | eugeni |
---|---|
date | Thu, 15 Feb 2007 21:53:28 +0000 |
parents | c49aefdc37f6 |
children | 66abe12ad374 |
comparison
equal
deleted
inserted
replaced
22208:c49aefdc37f6 | 22209:5add218bb6c3 |
---|---|
1149 render_context.scale_x = render_context.style->ScaleX; | 1149 render_context.scale_x = render_context.style->ScaleX; |
1150 render_context.scale_y = render_context.style->ScaleY; | 1150 render_context.scale_y = render_context.style->ScaleY; |
1151 render_context.hspacing = 0; // FIXME | 1151 render_context.hspacing = 0; // FIXME |
1152 render_context.be = 0; | 1152 render_context.be = 0; |
1153 render_context.shadow = render_context.style->Shadow; | 1153 render_context.shadow = render_context.style->Shadow; |
1154 render_context.rotation = M_PI * render_context.style->Angle / 180.; | |
1154 | 1155 |
1155 // FIXME: does not reset unsupported attributes. | 1156 // FIXME: does not reset unsupported attributes. |
1156 } | 1157 } |
1157 | 1158 |
1158 /** | 1159 /** |
1165 | 1166 |
1166 reset_render_context(); | 1167 reset_render_context(); |
1167 | 1168 |
1168 render_context.evt_type = EVENT_NORMAL; | 1169 render_context.evt_type = EVENT_NORMAL; |
1169 render_context.alignment = 0; | 1170 render_context.alignment = 0; |
1170 render_context.rotation = M_PI * render_context.style->Angle / 180.; | |
1171 render_context.pos_x = 0; | 1171 render_context.pos_x = 0; |
1172 render_context.pos_y = 0; | 1172 render_context.pos_y = 0; |
1173 render_context.org_x = 0; | 1173 render_context.org_x = 0; |
1174 render_context.org_y = 0; | 1174 render_context.org_y = 0; |
1175 render_context.have_origin = 0; | 1175 render_context.have_origin = 0; |