Struct cairo::PDFSurface
[−]
[src]
pub struct PDFSurface(_);
Methods
impl PDFSurface
[src]
fn from(surface: Surface) -> Result<PDFSurface, Surface>
fn create<T: AsRef<Path>>(filename: T, width: f64, height: f64) -> PDFSurface
Methods from Deref<Target = Surface>
fn status(&self) -> Status
fn create_similar(&self, content: Content, width: i32, height: i32) -> Surface
Trait Implementations
impl AsRef<Surface> for PDFSurface
[src]
impl Deref for PDFSurface
[src]
type Target = Surface
The resulting type after dereferencing
fn deref(&self) -> &Surface
The method called to dereference a value
impl Clone for PDFSurface
[src]
fn clone(&self) -> PDFSurface
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> ToGlibPtr<'a, *mut cairo_surface_t> for PDFSurface
[src]
type Storage = &'a Surface
fn to_glib_none(&'a self) -> Stash<'a, *mut cairo_surface_t, Self>
Transfer: none. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
fn to_glib_full(&self) -> P
Transfer: full. Read more