Mercurial > mplayer.hg
comparison libass/ass_render.c @ 27406:6eeaea929c14
Calculate subtitle origin in floating point.
author | eugeni |
---|---|
date | Thu, 07 Aug 2008 22:20:52 +0000 |
parents | 7bb23987c5f0 |
children | faeafa702d43 |
comparison
equal
deleted
inserted
replaced
27405:7bb23987c5f0 | 27406:6eeaea929c14 |
---|---|
148 EVENT_POSITIONED, // happens after pos(,), margins are ignored | 148 EVENT_POSITIONED, // happens after pos(,), margins are ignored |
149 EVENT_HSCROLL, // "Banner" transition effect, text_width is unlimited | 149 EVENT_HSCROLL, // "Banner" transition effect, text_width is unlimited |
150 EVENT_VSCROLL // "Scroll up", "Scroll down" transition effects | 150 EVENT_VSCROLL // "Scroll up", "Scroll down" transition effects |
151 } evt_type; | 151 } evt_type; |
152 double pos_x, pos_y; // position | 152 double pos_x, pos_y; // position |
153 int org_x, org_y; // origin | 153 double org_x, org_y; // origin |
154 char have_origin; // origin is explicitly defined; if 0, get_base_point() is used | 154 char have_origin; // origin is explicitly defined; if 0, get_base_point() is used |
155 double scale_x, scale_y; | 155 double scale_x, scale_y; |
156 double hspacing; // distance between letters, in pixels | 156 double hspacing; // distance between letters, in pixels |
157 double border; // outline width | 157 double border; // outline width |
158 uint32_t c[4]; // colors(Primary, Secondary, so on) in RGBA | 158 uint32_t c[4]; // colors(Primary, Secondary, so on) in RGBA |