Struct cairo::pattern::Pattern
[−]
[src]
pub struct Pattern { pub opaque: *mut c_void, }
Fields
opaque: *mut c_void
Methods
impl Pattern
[src]
fn add_color_stop_rgb(&mut self, offset: f64, red: f64, green: f64, blue: f64)
fn add_color_stop_rgba(&mut self, offset: f64, red: f64, green: f64, blue: f64, alpha: f64)
fn get_color_stop_count(&mut self) -> (Status, c_int)
fn get_color_stop_rgba(&mut self, stop_count: c_int) -> (Status, f64, f64, f64, f64, f64)
fn create_rgb(red: f64, green: f64, blue: f64) -> Pattern
fn create_rgba(red: f64, green: f64, blue: f64, alpha: f64) -> Pattern
fn get_rgba(&mut self) -> (Status, f64, f64, f64, f64)
fn create_for_surface(surface: &mut Surface) -> Pattern
fn get_surface(&mut self) -> (Status, Surface)
fn create_linear(x0: f64, y0: f64, x1: f64, y1: f64) -> Pattern
fn get_linear_points(&mut self) -> (Status, f64, f64, f64, f64)
fn create_radial(cx0: f64, cy0: f64, radius0: f64, cx1: f64, cy1: f64, radius1: f64) -> Pattern
fn get_radial_circles(&mut self) -> (Status, f64, f64, f64, f64, f64, f64)
fn create_mesh() -> Pattern
fn begin_patch(&mut self)
fn end_patch(&mut self)
fn move_to(&mut self, x: f64, y: f64)
fn line_to(&mut self, x: f64, y: f64)
fn curve_to(&mut self, x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64)
fn set_control_point(&mut self, point_num: c_uint, x: f64, y: f64)
fn set_corner_color_rgb(&mut self, corner_num: c_uint, red: f64, green: f64, blue: f64)
fn set_corner_color_rgba(&mut self, corner_num: c_uint, red: f64, green: f64, blue: f64, alpha: f64)
fn get_patch_count(&mut self) -> (Status, c_uint)
fn get_path(&mut self, patch_num: c_uint) -> Path
fn get_control_point(&mut self, patch_num: c_uint, pointer_num: c_uint) -> (Status, f64, f64)
fn get_corner_color_rgba(&mut self, patch_num: c_uint, pointer_num: c_uint) -> (Status, f64, f64, f64, f64)
fn status(&mut self) -> Status
fn set_extend(&mut self, extend: Extend)
fn get_extend(&mut self) -> Extend
fn set_filter(&mut self, filter: Filter)
fn get_filter(&mut self) -> Filter
fn set_matrix(&mut self, matrix: &mut Matrix)
fn get_matrix(&mut self) -> Matrix
fn get_type(&mut self) -> PatternType
fn get_reference_count(&mut self) -> c_uint
Trait Implementations
impl Clone for Pattern
[src]
fn clone(&self) -> Pattern
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