[][src]Struct skia_bindings::SkStrokeRec

#[repr(C)]
pub struct SkStrokeRec {
    pub fResScale: SkScalar,
    pub fWidth: SkScalar,
    pub fMiterLimit: SkScalar,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u16>,
}

Fields

fResScale: SkScalarfWidth: SkScalarfMiterLimit: 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]

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]

pub unsafe fn GetInflationRadius1(
    arg1: SkPaint_Join,
    miterLimit: SkScalar,
    arg2: SkPaint_Cap,
    strokeWidth: SkScalar
) -> SkScalar
[src]

pub unsafe fn new(style: SkStrokeRec_InitStyle) -> Self[src]

pub unsafe fn new1(
    arg1: *const SkPaint,
    arg2: SkPaint_Style,
    resScale: SkScalar
) -> Self
[src]

pub unsafe fn new2(arg1: *const SkPaint, resScale: SkScalar) -> Self[src]

Trait Implementations

impl Clone for SkStrokeRec[src]

impl Copy for SkStrokeRec[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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