Displaying 9 results from an estimated 9 matches for "cairo_image_surface_get_format".
2008 Nov 14
1
Unable to install Cairo package
...Only partial output (lines with no):
....
checking if R was compiled with the RConn patch... no
checking cairo.h usability... yes
checking cairo.h presence... yes
checking for cairo.h... yes
checking for PNG support in Cairo... yes
checking for ATS font support in Cairo... no
....
checking whether cairo_image_surface_get_format is declared... no
checking for FreeType support in cairo... yes
checking whether FreeType needs additional flags... no
checking wheter libjpeg works... yes
checking wheter libtiff works... no
configure: creating ./config.status
...
xlib-backend.c:34:74: error: X11/Intrinsic.h: No such file or direc...
2009 Jul 21
1
problem installing cairo on freebsd
...Cairo... yes
checking for ATS font support in Cairo... no
configure: CAIRO_LIBS=-pthread -L/usr/local/lib -lfreetype -
lfontconfig -lpng -lm -lz -lXrender -lcairo -lX11
checking for library containing deflate... none required
checking whether Cairo programs can be compiled... yes
checking whether cairo_image_surface_get_format is declared... no
checking for FreeType support in cairo... yes
checking whether FreeType needs additional flags... no
checking wheter libjpeg works... yes
checking wheter libtiff works... yes
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating src/cconf...
2007 Jan 26
0
libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_pattern.c
...+
+ /* FIXME: we might want to create multiple surfaces here if there's multiple
+ * live rendering sources. Right now, this is the quick fix, that transforms
+ * the cache to the most recent used type */
+ if (cairo_surface_get_type (current) == CAIRO_SURFACE_TYPE_IMAGE &&
+ cairo_image_surface_get_format (current) == CAIRO_FORMAT_RGB24)
+ content = CAIRO_CONTENT_COLOR;
+ else
+ content = CAIRO_CONTENT_COLOR_ALPHA;
+ similar = cairo_surface_create_similar (target,
+ content,
+ image->width, image->height);
+ copy = cairo_create (similar);
+ cairo_set_source_surface (copy, c...
2009 May 22
1
Cannot Install Cairo Library
...s
checking for PNG support in Cairo... yes
checking for ATS font support in Cairo... no
configure: CAIRO_LIBS=-lfreetype -lfontconfig -lpng12 -lz -lXrender
-lcairo -lX11
checking for library containing deflate... none required
checking whether Cairo programs can be compiled... yes
checking whether cairo_image_surface_get_format is declared... no
checking for FreeType support in cairo... yes
checking whether FreeType needs additional flags... no
checking wheter libjpeg works... yes
checking wheter libtiff works... no
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating src/cconfi...
2007 Jan 29
0
Branch 'interpreter' - 18 commits - libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_sound.c libswfdec/swfdec_pattern.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_script.c
...f
/* FIXME: we might want to create multiple surfaces here if there's multiple
* live rendering sources. Right now, this is the quick fix, that transforms
* the cache to the most recent used type */
- if (cairo_surface_get_type (current) == CAIRO_SURFACE_TYPE_IMAGE &&
- cairo_image_surface_get_format (current) == CAIRO_FORMAT_RGB24)
- content = CAIRO_CONTENT_COLOR;
- else
- content = CAIRO_CONTENT_COLOR_ALPHA;
+ content = swfdec_image_has_alpha (image) ? CAIRO_CONTENT_COLOR_ALPHA : CAIRO_CONTENT_COLOR;
similar = cairo_surface_create_similar (target,
content,
image->w...
2007 Feb 06
0
21 commits - configure.ac libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_compiler.c libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c
...-
- /* FIXME: we might want to create multiple surfaces here if there's multiple
- * live rendering sources. Right now, this is the quick fix, that transforms
- * the cache to the most recent used type */
- if (cairo_surface_get_type (current) == CAIRO_SURFACE_TYPE_IMAGE &&
- cairo_image_surface_get_format (current) == CAIRO_FORMAT_RGB24)
- content = CAIRO_CONTENT_COLOR;
- else
- content = CAIRO_CONTENT_COLOR_ALPHA;
- similar = cairo_surface_create_similar (target,
- content,
- image->width, image->height);
- copy = cairo_create (similar);
- cairo_set_source_surface (copy, c...
2007 Feb 06
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_pattern.c libswfdec/swfdec_sprite.c test/dump.c
...-
- /* FIXME: we might want to create multiple surfaces here if there's multiple
- * live rendering sources. Right now, this is the quick fix, that transforms
- * the cache to the most recent used type */
- if (cairo_surface_get_type (current) == CAIRO_SURFACE_TYPE_IMAGE &&
- cairo_image_surface_get_format (current) == CAIRO_FORMAT_RGB24)
- content = CAIRO_CONTENT_COLOR;
- else
- content = CAIRO_CONTENT_COLOR_ALPHA;
- similar = cairo_surface_create_similar (target,
- content,
- image->width, image->height);
- copy = cairo_create (similar);
- cairo_set_source_surface (copy, c...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...put->surface) ||
+ input->video->height < (guint) cairo_image_surface_get_height (input->surface)) {
+ static cairo_user_data_key_t key;
+ cairo_surface_t *old = input->surface;
+ input->surface = cairo_image_surface_create_for_data (
+ cairo_image_surface_get_data (old), cairo_image_surface_get_format (old),
+ input->video->width, input->video->height,
+ cairo_image_surface_get_stride (old));
+ cairo_surface_set_user_data (input->surface, &key, old,
+ (cairo_destroy_func_t) cairo_surface_destroy);
+ }
+ }
+ input->current_frame++;
+ }
}
static v...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...f
/* FIXME: we might want to create multiple surfaces here if there's multiple
* live rendering sources. Right now, this is the quick fix, that transforms
* the cache to the most recent used type */
- if (cairo_surface_get_type (current) == CAIRO_SURFACE_TYPE_IMAGE &&
- cairo_image_surface_get_format (current) == CAIRO_FORMAT_RGB24)
- content = CAIRO_CONTENT_COLOR;
- else
- content = CAIRO_CONTENT_COLOR_ALPHA;
+ content = swfdec_image_has_alpha (image) ? CAIRO_CONTENT_COLOR_ALPHA : CAIRO_CONTENT_COLOR;
similar = cairo_surface_create_similar (target,
content,
image->w...