summaryrefslogtreecommitdiffstats
path: root/libass/ass_rasterizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_rasterizer.h')
-rw-r--r--libass/ass_rasterizer.h7
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)