Struct cairo::LinearGradient [−][src]
pub struct LinearGradient { /* fields omitted */ }
Methods
impl LinearGradient
[src]
impl LinearGradient
pub fn new(x0: f64, y0: f64, x1: f64, y1: f64) -> LinearGradient
[src]
pub fn new(x0: f64, y0: f64, x1: f64, y1: f64) -> LinearGradient
pub fn get_linear_points(&self) -> (f64, f64, f64, f64)
[src]
pub fn get_linear_points(&self) -> (f64, f64, f64, f64)
Trait Implementations
impl Debug for LinearGradient
[src]
impl Debug for LinearGradient
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PatternTrait for LinearGradient
[src]
impl PatternTrait for LinearGradient
type PatternType = LinearGradient
unsafe fn from_raw_full(pointer: *mut cairo_pattern_t) -> Self::PatternType
[src]
unsafe fn from_raw_full(pointer: *mut cairo_pattern_t) -> Self::PatternType
fn as_ptr(&self) -> *mut cairo_pattern_t
[src]
fn as_ptr(&self) -> *mut cairo_pattern_t
fn ensure_status(&self)
[src]
fn ensure_status(&self)
fn status(&self) -> Status
[src]
fn status(&self) -> Status
fn get_reference_count(&self) -> isize
[src]
fn get_reference_count(&self) -> isize
fn set_extend(&self, extend: Extend)
[src]
fn set_extend(&self, extend: Extend)
fn get_extend(&self) -> Extend
[src]
fn get_extend(&self) -> Extend
fn set_filter(&self, filter: Filter)
[src]
fn set_filter(&self, filter: Filter)
fn get_filter(&self) -> Filter
[src]
fn get_filter(&self) -> Filter
fn set_matrix(&self, matrix: Matrix)
[src]
fn set_matrix(&self, matrix: Matrix)
fn get_matrix(&self) -> Matrix
[src]
fn get_matrix(&self) -> Matrix
unsafe fn from_raw_none(pointer: *mut cairo_pattern_t) -> Self::PatternType
[src]
unsafe fn from_raw_none(pointer: *mut cairo_pattern_t) -> Self::PatternType
impl Clone for LinearGradient
[src]
impl Clone for LinearGradient
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Drop for LinearGradient
[src]
impl Drop for LinearGradient
impl Gradient for LinearGradient
[src]
impl Gradient for LinearGradient
Auto Trait Implementations
impl !Send for LinearGradient
impl !Send for LinearGradient
impl !Sync for LinearGradient
impl !Sync for LinearGradient