Description Usage Arguments Details See Also
Changes the size of a PostScript surface for the current (and subsequent) pages.
1 | cairo_ps_surface_set_size(surface, width_in_points, height_in_points)
|
surface |
[ |
width_in_points |
[ |
height_in_points |
[ |
This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface or immediately after completing a page with either cairo_show_page() or cairo_copy_page().
Since: 1.2
C function prototype: void cairo_ps_surface_set_size (cairo_surface_t *surface, double width_in_points, double height_in_points)
Other cairo-ps:
cairo_ps_level_to_string()
,
cairo_ps_surface_create()
,
cairo_ps_surface_dsc_begin_page_setup()
,
cairo_ps_surface_dsc_begin_setup()
,
cairo_ps_surface_dsc_comment()
,
cairo_ps_surface_get_eps()
,
cairo_ps_surface_restrict_to_level()
,
cairo_ps_surface_set_eps()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.