[][src]Struct skia_bindings::SkCanvas_ImageSetEntry

#[repr(C)]
pub struct SkCanvas_ImageSetEntry {
    pub fImage: sk_sp<SkImage>,
    pub fSrcRect: SkRect,
    pub fDstRect: SkRect,
    pub fMatrixIndex: c_int,
    pub fAlpha: f32,
    pub fAAFlags: c_uint,
    pub fHasClip: bool,
}

Fields

fImage: sk_sp<SkImage>fSrcRect: SkRectfDstRect: SkRectfMatrixIndex: c_intfAlpha: f32fAAFlags: c_uintfHasClip: bool

Methods

impl SkCanvas_ImageSetEntry[src]

pub unsafe fn new(
    image: sk_sp<SkImage>,
    srcRect: *const SkRect,
    dstRect: *const SkRect,
    matrixIndex: c_int,
    alpha: f32,
    aaFlags: c_uint,
    hasClip: bool
) -> Self
[src]

pub unsafe fn new1(
    image: sk_sp<SkImage>,
    srcRect: *const SkRect,
    dstRect: *const SkRect,
    alpha: f32,
    aaFlags: c_uint
) -> Self
[src]

pub unsafe fn new2() -> Self[src]

pub unsafe fn new3(arg1: *const SkCanvas_ImageSetEntry) -> Self[src]

pub unsafe fn destruct(&mut self)[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]