Struct cairo::SolidPattern [−][src]
pub struct SolidPattern { /* fields omitted */ }
Methods
impl SolidPattern
[src]
impl SolidPattern
pub fn from_rgb(red: f64, green: f64, blue: f64) -> SolidPattern
[src]
pub fn from_rgb(red: f64, green: f64, blue: f64) -> SolidPattern
pub fn from_rgba(red: f64, green: f64, blue: f64, alpha: f64) -> SolidPattern
[src]
pub fn from_rgba(red: f64, green: f64, blue: f64, alpha: f64) -> SolidPattern
pub fn get_rgba(&self) -> (f64, f64, f64, f64)
[src]
pub fn get_rgba(&self) -> (f64, f64, f64, f64)
Trait Implementations
impl Debug for SolidPattern
[src]
impl Debug for SolidPattern
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 SolidPattern
[src]
impl PatternTrait for SolidPattern
type PatternType = SolidPattern
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 SolidPattern
[src]
impl Clone for SolidPattern
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 SolidPattern
[src]
impl Drop for SolidPattern
Auto Trait Implementations
impl !Send for SolidPattern
impl !Send for SolidPattern
impl !Sync for SolidPattern
impl !Sync for SolidPattern