diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2007-10-13 20:17:43 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2007-10-13 20:17:43 +0930 |
commit | 8520ce31be13bc939357cd45bd1b4c1967d7ff53 (patch) | |
tree | ba31db7a3682290dcd429b99fe1b689d9fbf4422 /boilerplate | |
parent | e5b01e67975578797b4f7875a9ba02121ff935b5 (diff) |
PS: Add meta surface pattern support
Diffstat (limited to 'boilerplate')
-rw-r--r-- | boilerplate/cairo-boilerplate.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/boilerplate/cairo-boilerplate.c b/boilerplate/cairo-boilerplate.c index 4d7c7e987..d8a08daab 100644 --- a/boilerplate/cairo-boilerplate.c +++ b/boilerplate/cairo-boilerplate.c @@ -262,16 +262,7 @@ static cairo_boilerplate_target_t targets[] = _cairo_boilerplate_ps_surface_write_to_png, _cairo_boilerplate_ps_cleanup, NULL, TRUE }, - - /* XXX: We expect type image here only due to a limitation in - * the current PS/meta-surface code. A PS surface is - * "naturally" COLOR_ALPHA, so the COLOR-only variant goes - * through create_similar in _cairo_boilerplate_ps_create_surface which results - * in the similar surface being used as a source. We do not yet - * have source support for PS/meta-surfaces, so the - * create_similar path for all paginated surfaces currently - * returns an image surface.*/ - { "ps", CAIRO_SURFACE_TYPE_IMAGE, CAIRO_CONTENT_COLOR, 0, + { "ps", CAIRO_INTERNAL_SURFACE_TYPE_META, CAIRO_CONTENT_COLOR, 0, _cairo_boilerplate_ps_create_surface, _cairo_boilerplate_ps_surface_write_to_png, _cairo_boilerplate_ps_cleanup, |