[−][src]Struct skia_bindings::SkStrokeRec
Fields
fResScale: SkScalar
fWidth: SkScalar
fMiterLimit: SkScalar
_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u16>
Methods
impl SkStrokeRec
[src]
pub fn fCap(&self) -> u32
[src]
pub fn set_fCap(&mut self, val: u32)
[src]
pub fn fJoin(&self) -> u32
[src]
pub fn set_fJoin(&mut self, val: u32)
[src]
pub fn fStrokeAndFill(&self) -> u32
[src]
pub fn set_fStrokeAndFill(&mut self, val: u32)
[src]
pub fn new_bitfield_1(
fCap: u32,
fJoin: u32,
fStrokeAndFill: u32
) -> __BindgenBitfieldUnit<[u8; 4], u16>
[src]
fCap: u32,
fJoin: u32,
fStrokeAndFill: u32
) -> __BindgenBitfieldUnit<[u8; 4], u16>
pub unsafe fn getStyle(&self) -> SkStrokeRec_Style
[src]
pub unsafe fn setFillStyle(&mut self)
[src]
pub unsafe fn setHairlineStyle(&mut self)
[src]
pub unsafe fn setStrokeStyle(&mut self, width: SkScalar, strokeAndFill: bool)
[src]
pub unsafe fn applyToPath(&self, dst: *mut SkPath, src: *const SkPath) -> bool
[src]
pub unsafe fn applyToPaint(&self, paint: *mut SkPaint)
[src]
pub unsafe fn getInflationRadius(&self) -> SkScalar
[src]
pub unsafe fn GetInflationRadius(
arg1: *const SkPaint,
arg2: SkPaint_Style
) -> SkScalar
[src]
arg1: *const SkPaint,
arg2: SkPaint_Style
) -> SkScalar
pub unsafe fn GetInflationRadius1(
arg1: SkPaint_Join,
miterLimit: SkScalar,
arg2: SkPaint_Cap,
strokeWidth: SkScalar
) -> SkScalar
[src]
arg1: SkPaint_Join,
miterLimit: SkScalar,
arg2: SkPaint_Cap,
strokeWidth: SkScalar
) -> SkScalar
pub unsafe fn new(style: SkStrokeRec_InitStyle) -> Self
[src]
pub unsafe fn new1(
arg1: *const SkPaint,
arg2: SkPaint_Style,
resScale: SkScalar
) -> Self
[src]
arg1: *const SkPaint,
arg2: SkPaint_Style,
resScale: SkScalar
) -> Self
pub unsafe fn new2(arg1: *const SkPaint, resScale: SkScalar) -> Self
[src]
Trait Implementations
impl Clone for SkStrokeRec
[src]
fn clone(&self) -> SkStrokeRec
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SkStrokeRec
[src]
Auto Trait Implementations
impl Send for SkStrokeRec
impl Unpin for SkStrokeRec
impl Sync for SkStrokeRec
impl RefUnwindSafe for SkStrokeRec
impl UnwindSafe for SkStrokeRec
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,