# Struct cairo::SurfacePattern [−] [src]

    pub struct SurfacePattern { /* fields omitted */ }

## Methods

### `impl SurfacePattern`
[src]

#### `fn wrap(pointer: *mut cairo_pattern_t) -> SurfacePattern`

#### `fn reference(&self) -> SurfacePattern`

### `impl SurfacePattern`
[src]

#### `fn create<T: AsRef<Surface>>(surface: &T) -> SurfacePattern`

#### `fn get_surface(&self) -> Surface`

## Trait Implementations

### `impl Pattern for SurfacePattern`
[src]

#### `fn get_ptr(&self) -> *mut cairo_pattern_t`

#### `fn ensure_status(&self)`

#### `fn status(&self) -> Status`

#### `fn get_reference_count(&self) -> isize`

#### `fn set_extend(&self, extend: Extend)`

#### `fn get_extend(&self) -> Extend`

#### `fn set_filter(&self, filter: Filter)`

#### `fn get_filter(&self) -> Filter`

#### `fn set_matrix(&self, matrix: Matrix)`

#### `fn get_matrix(&self) -> Matrix`

### `impl Drop for SurfacePattern`
[src]

#### `fn drop(&mut self)`

A method called when the value goes out of scope. Read more

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)