FS-7506: improve draw_text with minimum anti aliasing

This commit is contained in:
Seven Du
2015-02-11 12:40:07 +08:00
committed by Anthony Minessale
parent 1122d2cda1
commit 0496877221
2 changed files with 39 additions and 12 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ SWITCH_DECLARE(void) switch_img_flip(switch_image_t *img);
*/
SWITCH_DECLARE(void) switch_img_free(switch_image_t **img);
SWITCH_DECLARE(void) switch_img_draw_text(switch_image_t *IMG, int x, int y, char *text);
SWITCH_DECLARE(void) switch_img_draw_text(switch_image_t *IMG, int x, int y, switch_yuv_color_t color, uint16_t font_size, char *text);
SWITCH_DECLARE(void) switch_img_add_text(void *buffer, int w, int x, int y, char *s);