diff options
author | Dr.Smile <vabnick@gmail.com> | 2014-11-23 20:01:03 +0300 |
---|---|---|
committer | Dr.Smile <vabnick@gmail.com> | 2014-11-23 20:01:03 +0300 |
commit | 507ae26358a491c7f665d32a3e07c2f176d152e9 (patch) | |
tree | e7827a525028d594eb4d3a35ea80a6a9f139da11 /libass/ass_rasterizer.h | |
parent | f3f8230189634e0ce4ffe06c1e380bea829d85d9 (diff) | |
download | libass-507ae26358a491c7f665d32a3e07c2f176d152e9.tar.bz2 libass-507ae26358a491c7f665d32a3e07c2f176d152e9.tar.xz |
Replace FT_Outline with ASS_Outline
Diffstat (limited to 'libass/ass_rasterizer.h')
-rw-r--r-- | libass/ass_rasterizer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libass/ass_rasterizer.h b/libass/ass_rasterizer.h index 9da475e..6630317 100644 --- a/libass/ass_rasterizer.h +++ b/libass/ass_rasterizer.h @@ -19,11 +19,12 @@ #ifndef LIBASS_RASTERIZER_H #define LIBASS_RASTERIZER_H -#include <ft2build.h> -#include FT_FREETYPE_H #include <stddef.h> #include <stdint.h> +#include "ass.h" +#include "ass_font.h" + enum { SEGFLAG_DN = 1, @@ -82,7 +83,7 @@ void rasterizer_done(ASS_Rasterizer *rst); /** * \brief Convert FreeType outline to polyline and calculate exact bounds */ -int rasterizer_set_outline(ASS_Rasterizer *rst, const FT_Outline *path); +int rasterizer_set_outline(ASS_Rasterizer *rst, const ASS_Outline *path); /** * \brief Polyline rasterization function * \param x0, y0, width, height in: source window (full pixel units) |