按照官方的说法:Cairo is a vector graphics library with cross-device output support.
翻译过来
源代码在线查看: cairo-postscript-surfaces.html
PostScript Surfaces Cairo: A Vector Graphics Library Top | Description PostScript Surfaces PostScript Surfaces — Rendering PostScript documents Synopsis cairo_surface_t* cairo_ps_surface_create (const char *filename, double width_in_points, double height_in_points); cairo_surface_t* cairo_ps_surface_create_for_stream (cairo_write_func_t write_func, void *closure, double width_in_points, double height_in_points); void cairo_ps_surface_set_size (cairo_surface_t *surface, double width_in_points, double height_in_points); void cairo_ps_surface_dsc_begin_setup (cairo_surface_t *surface); void cairo_ps_surface_dsc_begin_page_setup (cairo_surface_t *surface); void cairo_ps_surface_dsc_comment (cairo_surface_t *surface, const char *comment); Description Details cairo_ps_surface_create () cairo_surface_t* cairo_ps_surface_create (const char *filename, double width_in_points, double height_in_points); Since 1.2 cairo_ps_surface_create_for_stream () cairo_surface_t* cairo_ps_surface_create_for_stream (cairo_write_func_t write_func, void *closure, double width_in_points, double height_in_points); Since 1.2 cairo_ps_surface_set_size () void cairo_ps_surface_set_size (cairo_surface_t *surface, double width_in_points, double height_in_points); Since 1.2 cairo_ps_surface_dsc_begin_setup () void cairo_ps_surface_dsc_begin_setup (cairo_surface_t *surface); Since 1.2 cairo_ps_surface_dsc_begin_page_setup () void cairo_ps_surface_dsc_begin_page_setup (cairo_surface_t *surface); Since 1.2 cairo_ps_surface_dsc_comment () void cairo_ps_surface_dsc_comment (cairo_surface_t *surface, const char *comment); Since 1.2