[cairo] New API: cairo_ps_surface_set_size

Emmanuel Pacaud emmanuel.pacaud at univ-poitiers.fr
Tue May 2 15:41:04 PDT 2006


>The patch below (which has already been pushed out to the central tree)
>adds new API:

>cairo_public void
>cairo_ps_surface_set_size (cairo_surface_t      *abstract_surface,
>			   double                width_in_points, >double               
>			   height_in_points);

Why not add a generic API (cairo_surface_set_size) ?

It seems this could be useful for pdf surfaces, and even SVG ones.

	Emmanuel.



More information about the cairo mailing list