[][src]Trait cairo::PatternTrait

pub trait PatternTrait {
    type PatternType;
    fn as_ptr(&self) -> *mut cairo_pattern_t;
unsafe fn from_raw_full(pointer: *mut cairo_pattern_t) -> Self::PatternType; 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 { ... }
unsafe fn from_raw_none(pointer: *mut cairo_pattern_t) -> Self::PatternType { ... } }

Associated Types

type PatternType

Loading content...

Required methods

fn as_ptr(&self) -> *mut cairo_pattern_t

unsafe fn from_raw_full(pointer: *mut cairo_pattern_t) -> Self::PatternType

Loading content...

Provided methods

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

unsafe fn from_raw_none(pointer: *mut cairo_pattern_t) -> Self::PatternType

Loading content...

Implementors

impl PatternTrait for Pattern[src]

impl PatternTrait for LinearGradient[src]

impl PatternTrait for Mesh[src]

impl PatternTrait for RadialGradient[src]

impl PatternTrait for SolidPattern[src]

impl PatternTrait for SurfacePattern[src]

Loading content...