diff options
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r-- | libass/ass_render.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h index b0892ce..2136049 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -85,7 +85,7 @@ typedef struct { double par; // user defined pixel aspect ratio (0 = unset) ASS_Hinting hinting; ASS_ShapingLevel shaper; - int selective_style_overrides; + int selective_style_overrides; // ASS_OVERRIDE_* flags char *default_font; char *default_family; @@ -240,14 +240,13 @@ typedef struct { int clip_x0, clip_y0, clip_x1, clip_y1; char clip_mode; // 1 = iclip char detect_collisions; - uint32_t fade; // alpha from \fad + int fade; // alpha from \fad char be; // blur edges double blur; // gaussian blur double shadow_x; double shadow_y; int drawing_scale; // currently reading: regular text if 0, drawing otherwise double pbo; // drawing baseline offset - ASS_Drawing *drawing; // current drawing ASS_Drawing *clip_drawing; // clip vector int clip_drawing_mode; // 0 = regular clip, 1 = inverse clip @@ -273,6 +272,10 @@ typedef struct { // combination of ASS_OVERRIDE_BIT_* flags that apply right now unsigned overrides; + // whether to apply font_scale + int apply_font_scale; + // whether this is assumed to be explicitly positioned + int explicit; // used to store RenderContext.style when doing selective style overrides ASS_Style override_style_temp_storage; |