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

    pub struct Mesh { /* fields omitted */ }

## Methods

### `impl Mesh`
[src]

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

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

### `impl Mesh`
[src]

#### `fn new() -> Mesh`

#### `fn begin_patch(&self)`

#### `fn end_patch(&self)`

#### `fn move_to(&self, x: f64, y: f64)`

#### `fn line_to(&self, x: f64, y: f64)`

#### `fn curve_to(&self, x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64)`

#### `fn set_control_point(&self, corner: MeshCorner, x: f64, y: f64)`

#### `fn get_control_point(&self, patch_num: usize, corner: MeshCorner) -> (f64, f64)`

#### `fn set_corner_color_rgb(
&self,
corner: MeshCorner,
red: f64,
green: f64,
blue: f64
)`

#### `fn set_corner_color_rgba(
&self,
corner: MeshCorner,
red: f64,
green: f64,
blue: f64,
alpha: f64
)`

#### `fn get_corner_color_rgba(
&self,
patch_num: usize,
corner: MeshCorner
) -> (f64, f64, f64, f64)`

#### `fn get_patch_count(&self) -> usize`

#### `fn get_path(&self, patch_num: usize) -> Path`

## Trait Implementations

### `impl Pattern for Mesh`
[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 Mesh`
[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`)