[−][src]Struct skia_bindings::SkRegion
Fields
fBounds: SkIRect
fRunHead: *mut SkRegion_RunHead
Methods
impl SkRegion
[src]
pub unsafe fn swap(&mut self, other: *mut SkRegion)
[src]
pub unsafe fn computeRegionComplexity(&self) -> c_int
[src]
pub unsafe fn getBoundaryPath(&self, path: *mut SkPath) -> bool
[src]
pub unsafe fn setEmpty(&mut self) -> bool
[src]
pub unsafe fn setRect(&mut self, rect: *const SkIRect) -> bool
[src]
pub unsafe fn setRects(&mut self, rects: *const SkIRect, count: c_int) -> bool
[src]
pub unsafe fn setRegion(&mut self, region: *const SkRegion) -> bool
[src]
pub unsafe fn setPath(
&mut self,
path: *const SkPath,
clip: *const SkRegion
) -> bool
[src]
&mut self,
path: *const SkPath,
clip: *const SkRegion
) -> bool
pub unsafe fn intersects(&self, rect: *const SkIRect) -> bool
[src]
pub unsafe fn intersects1(&self, other: *const SkRegion) -> bool
[src]
pub unsafe fn contains(&self, x: i32, y: i32) -> bool
[src]
pub unsafe fn contains1(&self, other: *const SkIRect) -> bool
[src]
pub unsafe fn contains2(&self, other: *const SkRegion) -> bool
[src]
pub unsafe fn translate(&self, dx: c_int, dy: c_int, dst: *mut SkRegion)
[src]
pub unsafe fn op(
&mut self,
rect: *const SkIRect,
rgn: *const SkRegion,
op: SkRegion_Op
) -> bool
[src]
&mut self,
rect: *const SkIRect,
rgn: *const SkRegion,
op: SkRegion_Op
) -> bool
pub unsafe fn op1(
&mut self,
rgn: *const SkRegion,
rect: *const SkIRect,
op: SkRegion_Op
) -> bool
[src]
&mut self,
rgn: *const SkRegion,
rect: *const SkIRect,
op: SkRegion_Op
) -> bool
pub unsafe fn op2(
&mut self,
rgna: *const SkRegion,
rgnb: *const SkRegion,
op: SkRegion_Op
) -> bool
[src]
&mut self,
rgna: *const SkRegion,
rgnb: *const SkRegion,
op: SkRegion_Op
) -> bool
pub unsafe fn writeToMemory(&self, buffer: *mut c_void) -> usize
[src]
pub unsafe fn readFromMemory(
&mut self,
buffer: *const c_void,
length: usize
) -> usize
[src]
&mut self,
buffer: *const c_void,
length: usize
) -> usize
pub unsafe fn new() -> Self
[src]
pub unsafe fn new1(region: *const SkRegion) -> Self
[src]
pub unsafe fn new2(rect: *const SkIRect) -> Self
[src]
pub unsafe fn destruct(&mut self)
[src]
Auto Trait Implementations
impl !Send for SkRegion
impl Unpin for SkRegion
impl !Sync for SkRegion
impl RefUnwindSafe for SkRegion
impl UnwindSafe for SkRegion
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,