[−][src]Struct skia_bindings::SkRRect
Fields
fRect: SkRect
fRadii: [SkVector; 4]
fType: i32
Methods
impl SkRRect
[src]
pub unsafe fn setRectXY(
&mut self,
rect: *const SkRect,
xRad: SkScalar,
yRad: SkScalar
)
[src]
&mut self,
rect: *const SkRect,
xRad: SkScalar,
yRad: SkScalar
)
pub unsafe fn setNinePatch(
&mut self,
rect: *const SkRect,
leftRad: SkScalar,
topRad: SkScalar,
rightRad: SkScalar,
bottomRad: SkScalar
)
[src]
&mut self,
rect: *const SkRect,
leftRad: SkScalar,
topRad: SkScalar,
rightRad: SkScalar,
bottomRad: SkScalar
)
pub unsafe fn setRectRadii(
&mut self,
rect: *const SkRect,
radii: *const SkVector
)
[src]
&mut self,
rect: *const SkRect,
radii: *const SkVector
)
pub unsafe fn inset(&self, dx: SkScalar, dy: SkScalar, dst: *mut SkRRect)
[src]
pub unsafe fn contains(&self, rect: *const SkRect) -> bool
[src]
pub unsafe fn isValid(&self) -> bool
[src]
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 transform(
&self,
matrix: *const SkMatrix,
dst: *mut SkRRect
) -> bool
[src]
&self,
matrix: *const SkMatrix,
dst: *mut SkRRect
) -> bool
pub unsafe fn dump(&self, asHex: bool)
[src]
Trait Implementations
Auto Trait Implementations
impl Unpin for SkRRect
impl Sync for SkRRect
impl Send for SkRRect
impl UnwindSafe for SkRRect
impl RefUnwindSafe for SkRRect
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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,