summaryrefslogtreecommitdiffstats
path: root/libass/ass_bitmap.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2009-09-01 02:39:51 +0200
committerGrigori Goronzy <greg@blackbox>2009-09-01 02:39:51 +0200
commite4e0ac252792981699532c4076569946c9719999 (patch)
tree2208147434af393fec23d62d2ce5f6bce27b82d2 /libass/ass_bitmap.h
parent8407e392667a2f37eaca4fabfcf6bd7ca42aaed5 (diff)
downloadlibass-e4e0ac252792981699532c4076569946c9719999.tar.bz2
libass-e4e0ac252792981699532c4076569946c9719999.tar.xz
opaque box: do not subtract glyph from border
Similar to VSFilter, do not subtract the glyph bitmap from the border bitmap when BorderStyle 3 is used.
Diffstat (limited to 'libass/ass_bitmap.h')
-rw-r--r--libass/ass_bitmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libass/ass_bitmap.h b/libass/ass_bitmap.h
index 3b63cee0..338db011 100644
--- a/libass/ass_bitmap.h
+++ b/libass/ass_bitmap.h
@@ -49,7 +49,8 @@ typedef struct {
int glyph_to_bitmap(ASS_Library *library, ASS_SynthPriv *priv_blur,
FT_Glyph glyph, FT_Glyph outline_glyph,
Bitmap **bm_g, Bitmap **bm_o, Bitmap **bm_s,
- int be, double blur_radius, FT_Vector shadow_offset);
+ int be, double blur_radius, FT_Vector shadow_offset,
+ int border_style);
void ass_free_bitmap(Bitmap *bm);