Struct skia_bindings::SkShadowUtils
source · #[repr(C)]pub struct SkShadowUtils {
pub _address: u8,
}
Fields§
§_address: u8
Implementations§
source§impl SkShadowUtils
impl SkShadowUtils
pub unsafe fn DrawShadow( canvas: *mut SkCanvas, path: *const SkPath, zPlaneParams: *const SkPoint3, lightPos: *const SkPoint3, lightRadius: SkScalar, ambientColor: SkColor, spotColor: SkColor, flags: u32 )
pub unsafe fn GetLocalBounds( ctm: *const SkMatrix, path: *const SkPath, zPlaneParams: *const SkPoint3, lightPos: *const SkPoint3, lightRadius: SkScalar, flags: u32, bounds: *mut SkRect ) -> bool
pub unsafe fn ComputeTonalColors( inAmbientColor: SkColor, inSpotColor: SkColor, outAmbientColor: *mut SkColor, outSpotColor: *mut SkColor )
Trait Implementations§
source§impl Clone for SkShadowUtils
impl Clone for SkShadowUtils
source§fn clone(&self) -> SkShadowUtils
fn clone(&self) -> SkShadowUtils
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SkShadowUtils
impl Debug for SkShadowUtils
impl Copy for SkShadowUtils
Auto Trait Implementations§
impl RefUnwindSafe for SkShadowUtils
impl Send for SkShadowUtils
impl Sync for SkShadowUtils
impl Unpin for SkShadowUtils
impl UnwindSafe for SkShadowUtils
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