Struct skia_bindings::SkCanvas_ImageSetEntry
source · #[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: SkRect
§fDstRect: SkRect
§fMatrixIndex: c_int
§fAlpha: f32
§fAAFlags: c_uint
§fHasClip: bool
Implementations§
source§impl SkCanvas_ImageSetEntry
impl SkCanvas_ImageSetEntry
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
pub unsafe fn new1( image: sk_sp<SkImage>, srcRect: *const SkRect, dstRect: *const SkRect, alpha: f32, aaFlags: c_uint ) -> Self
pub unsafe fn new2() -> Self
pub unsafe fn new3(arg1: *const SkCanvas_ImageSetEntry) -> Self
pub unsafe fn destruct(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SkCanvas_ImageSetEntry
impl !Send for SkCanvas_ImageSetEntry
impl !Sync for SkCanvas_ImageSetEntry
impl Unpin for SkCanvas_ImageSetEntry
impl !UnwindSafe for SkCanvas_ImageSetEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more