Struct cairo::PDFSurface
[−]
[src]
pub struct PDFSurface(_);
Methods
impl PDFSurface
[src]
fn from(surface: Surface) -> Result<PDFSurface, Surface>
[src]
fn create<T: AsRef<Path>>(filename: T, width: f64, height: f64) -> PDFSurface
[src]
Methods from Deref<Target = Surface>
fn status(&self) -> Status
[src]
fn create_similar(&self, content: Content, width: i32, height: i32) -> Surface
[src]
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
[src]
Dereferences the value.
impl Clone for PDFSurface
[src]
fn clone(&self) -> PDFSurface
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Send for PDFSurface
[src]
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>
[src]
Transfer: none. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
Transfer: container. Read more
fn to_glib_full(&self) -> P
[src]
Transfer: full. Read more