Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cairoPdfSurfaceSetSize

cairoPdfSurfaceSetSize


Description

Changes the size of a PDF surface for the current (and subsequent) pages.

Usage

cairoPdfSurfaceSetSize(surface, width.in.points, height.in.points)

Arguments

surface

[CairoSurface] a PDF CairoSurface

width.in.points

[numeric] new surface width, in points (1 point == 1/72.0 inch)

height.in.points

[numeric] new surface height, in points (1 point == 1/72.0 inch)

Details

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 cairoShowPage or cairoCopyPage. Since 1.2

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.