diff src/shape_stext.c @ 450:a417fd980228

Replace cairo_format_t with mb_img_fmt_t. - Replace all CAIRO_FORAMT_* with MB_IFMT_* - wrap functions return or are argumented with image format.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 05 Aug 2009 15:54:44 +0800
parents 16116d84bc5e
children d8181696b689
line wrap: on
line diff
--- a/src/shape_stext.c	Tue Aug 04 23:47:34 2009 +0800
+++ b/src/shape_stext.c	Wed Aug 05 15:54:44 2009 +0800
@@ -710,7 +710,7 @@
     face = query_font_face("serif", MB_FONT_SLANT_ROMAN, 100);
     CU_ASSERT(face != NULL);
     status = mbe_font_face_status((mbe_font_face_t *)face);
-    CU_ASSERT(status == CAIRO_STATUS_SUCCESS);
+    CU_ASSERT(status == MBE_STATUS_SUCCESS);
     
     free_font_face(face);
 }
@@ -725,12 +725,12 @@
     face = query_font_face("serif", MB_FONT_SLANT_ROMAN, 100);
     CU_ASSERT(face != NULL);
     status = mbe_font_face_status((mbe_font_face_t *)face);
-    CU_ASSERT(status == CAIRO_STATUS_SUCCESS);
+    CU_ASSERT(status == MBE_STATUS_SUCCESS);
     
     scaled = make_scaled_font_face_matrix(face, matrix);
     CU_ASSERT(scaled != NULL);
     status = mbe_scaled_font_status((mbe_scaled_font_t *)scaled);
-    CU_ASSERT(status == CAIRO_STATUS_SUCCESS);
+    CU_ASSERT(status == MBE_STATUS_SUCCESS);
     
     scaled_font_free(scaled);
     free_font_face(face);