Displaying 2 results from an estimated 2 matches for "swfdectestimag".
Did you mean:
swfdectestimage
2008 Jan 08
0
4 commits - test/.gitignore test/image test/Makefile.am test/swfdec_test_function.c test/swfdec_test_image.c test/swfdec_test_image.h test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...)->surface && \
+ cairo_surface_status ((image)->surface) == CAIRO_STATUS_SUCCESS)
+
+SwfdecAsObject *
+swfdec_test_image_new (SwfdecAsContext *context, guint width, guint height)
+{
+ SwfdecAsValue val;
+ SwfdecAsObject *ret;
+
+ if (!swfdec_as_context_use_mem (context, sizeof (SwfdecTestImage)))
+ return NULL;
+
+ ret = g_object_new (SWFDEC_TYPE_TEST_IMAGE, NULL);
+ swfdec_as_object_add (ret, context, sizeof (SwfdecTestImage));
+ swfdec_as_object_get_variable (context->global,
+ swfdec_as_context_get_string (context, "Image"), &val);
+ if (SWFDEC_AS_VALUE_...
2008 Jan 19
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/image test/swfdec_test.c test/swfdec_test_image.c test/trace
..._test_image.c b/test/swfdec_test_image.c
index bcead21..26282ba 100644
--- a/test/swfdec_test_image.c
+++ b/test/swfdec_test_image.c
@@ -144,16 +144,15 @@ void
swfdec_test_image_compare (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc,
SwfdecAsValue *argv, SwfdecAsValue *retval)
{
- SwfdecTestImage *image, *compare;
+ SwfdecTestImage *image, *compare, *diff;
int w, h;
- cairo_surface_t *diff;
SWFDEC_AS_CHECK (SWFDEC_TYPE_TEST_IMAGE, &image, "O", &compare);
if (!SWFDEC_IS_TEST_IMAGE (compare))
return;
- SWFDEC_AS_VALUE_SET_BOOLEAN (retval, FALSE);
+...