Struct skia_bindings::SkGradientShader
source · #[repr(C)]pub struct SkGradientShader {
pub _address: u8,
}
Fields§
§_address: u8
Implementations§
source§impl SkGradientShader
impl SkGradientShader
pub unsafe fn MakeLinear( pts: *const SkPoint, colors: *const SkColor, pos: *const SkScalar, count: c_int, mode: SkTileMode, flags: u32, localMatrix: *const SkMatrix ) -> sk_sp<SkShader>
pub unsafe fn MakeLinear1( pts: *const SkPoint, colors: *const SkColor4f, colorSpace: sk_sp<SkColorSpace>, pos: *const SkScalar, count: c_int, mode: SkTileMode, interpolation: *const SkGradientShader_Interpolation, localMatrix: *const SkMatrix ) -> sk_sp<SkShader>
pub unsafe fn MakeRadial( center: *const SkPoint, radius: SkScalar, colors: *const SkColor, pos: *const SkScalar, count: c_int, mode: SkTileMode, flags: u32, localMatrix: *const SkMatrix ) -> sk_sp<SkShader>
pub unsafe fn MakeRadial1( center: *const SkPoint, radius: SkScalar, colors: *const SkColor4f, colorSpace: sk_sp<SkColorSpace>, pos: *const SkScalar, count: c_int, mode: SkTileMode, interpolation: *const SkGradientShader_Interpolation, localMatrix: *const SkMatrix ) -> sk_sp<SkShader>
pub unsafe fn MakeTwoPointConical( start: *const SkPoint, startRadius: SkScalar, end: *const SkPoint, endRadius: SkScalar, colors: *const SkColor, pos: *const SkScalar, count: c_int, mode: SkTileMode, flags: u32, localMatrix: *const SkMatrix ) -> sk_sp<SkShader>
pub unsafe fn MakeTwoPointConical1( start: *const SkPoint, startRadius: SkScalar, end: *const SkPoint, endRadius: SkScalar, colors: *const SkColor4f, colorSpace: sk_sp<SkColorSpace>, pos: *const SkScalar, count: c_int, mode: SkTileMode, interpolation: *const SkGradientShader_Interpolation, localMatrix: *const SkMatrix ) -> sk_sp<SkShader>
pub unsafe fn MakeSweep( cx: SkScalar, cy: SkScalar, colors: *const SkColor, pos: *const SkScalar, count: c_int, mode: SkTileMode, startAngle: SkScalar, endAngle: SkScalar, flags: u32, localMatrix: *const SkMatrix ) -> sk_sp<SkShader>
pub unsafe fn MakeSweep1( cx: SkScalar, cy: SkScalar, colors: *const SkColor4f, colorSpace: sk_sp<SkColorSpace>, pos: *const SkScalar, count: c_int, mode: SkTileMode, startAngle: SkScalar, endAngle: SkScalar, interpolation: *const SkGradientShader_Interpolation, localMatrix: *const SkMatrix ) -> sk_sp<SkShader>
Trait Implementations§
source§impl Clone for SkGradientShader
impl Clone for SkGradientShader
source§fn clone(&self) -> SkGradientShader
fn clone(&self) -> SkGradientShader
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 SkGradientShader
impl Debug for SkGradientShader
impl Copy for SkGradientShader
Auto Trait Implementations§
impl RefUnwindSafe for SkGradientShader
impl Send for SkGradientShader
impl Sync for SkGradientShader
impl Unpin for SkGradientShader
impl UnwindSafe for SkGradientShader
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