summaryrefslogtreecommitdiff
path: root/test/svg2png.c
AgeCommit message (Collapse)AuthorFilesLines
2006-05-02SVG: Convert SVG file with a resolution of 72 dpi.Emmanuel Pacaud1-2/+1
That means 1 point = 1 pixel
2006-01-19add missing header. Fix #5544.Emmanuel Pacaud1-0/+1
2005-12-19CAIRO_CAN_TEST_SVG_SURFACE depends on librsvg.Emmanuel Pacaud1-0/+62
cairo_svg_surface_t owns a xml node, for support of svg_surface_composite. (_cairo_svg_surface_create_for_document): init xml_node. All surfaces except first one are stored in defs node. (emit_composite_image_pattern): returns pattern size, and don't call emit_transform if is_pattern == TRUE. (emit_composite_svg_pattern): do something. (emit_composite_pattern): returns pattern size. (_cairo_svg_surface_composite): xml_node is stored in cairo_svg_surface_t now. (emit_surface_pattern): emit surface pattern width here. Fix property names. (_cairo_svg_path_close_path): don't close path if no current point. (_cairo_svg_surface_fill_rectangles): new. (_cairo_svg_surface_fill): emit fill rule. xml_node is in surface now. (_cairo_svg_surface_composite_trapezoids): xml_node is in surface now. (_cairo_svg_surface_stroke): ditto. (_cairo_svg_surface_intersect_clip_path): ditto. Emit fill rule. ignore svg2png. build svg2png utility. test SVG backend if CAIRO_HAS_SVG_SURFACE && CAIRO_CAN_TEST_SVG_SURFACE. new.