[−][src]Struct skia_bindings::SkImageFilter
Fields
_base: SkFlattenable
fInputs: [u64; 4]
fUsesSrcInput: bool
fCropRect: SkImageFilter_CropRect
fUniqueID: u32
Methods
impl SkImageFilter
[src]
pub unsafe fn filterImage(
&self,
src: *mut SkSpecialImage,
context: *const SkImageFilter_Context,
offset: *mut SkIPoint
) -> sk_sp<SkSpecialImage>
[src]
&self,
src: *mut SkSpecialImage,
context: *const SkImageFilter_Context,
offset: *mut SkIPoint
) -> sk_sp<SkSpecialImage>
pub unsafe fn filterBounds(
&self,
src: *const SkIRect,
ctm: *const SkMatrix,
arg1: SkImageFilter_MapDirection,
inputRect: *const SkIRect
) -> SkIRect
[src]
&self,
src: *const SkIRect,
ctm: *const SkMatrix,
arg1: SkImageFilter_MapDirection,
inputRect: *const SkIRect
) -> SkIRect
pub unsafe fn DrawWithFP(
context: *mut GrRecordingContext,
fp: u8,
bounds: *const SkIRect,
outputProperties: *const SkImageFilter_OutputProperties,
isProtected: GrProtected
) -> sk_sp<SkSpecialImage>
[src]
context: *mut GrRecordingContext,
fp: u8,
bounds: *const SkIRect,
outputProperties: *const SkImageFilter_OutputProperties,
isProtected: GrProtected
) -> sk_sp<SkSpecialImage>
pub unsafe fn removeKey(&self, key: *const SkImageFilterCacheKey)
[src]
pub unsafe fn asAColorFilter(&self, filterPtr: *mut *mut SkColorFilter) -> bool
[src]
pub unsafe fn canComputeFastBounds(&self) -> bool
[src]
pub unsafe fn makeWithLocalMatrix(
&self,
matrix: *const SkMatrix
) -> sk_sp<SkImageFilter>
[src]
&self,
matrix: *const SkMatrix
) -> sk_sp<SkImageFilter>
pub unsafe fn canHandleComplexCTM(&self) -> bool
[src]
pub unsafe fn MakeMatrixFilter(
matrix: *const SkMatrix,
quality: SkFilterQuality,
input: sk_sp<SkImageFilter>
) -> sk_sp<SkImageFilter>
[src]
matrix: *const SkMatrix,
quality: SkFilterQuality,
input: sk_sp<SkImageFilter>
) -> sk_sp<SkImageFilter>
pub unsafe fn RegisterFlattenables()
[src]
pub unsafe fn filterInput(
&self,
index: c_int,
src: *mut SkSpecialImage,
arg1: *const SkImageFilter_Context,
offset: *mut SkIPoint
) -> sk_sp<SkSpecialImage>
[src]
&self,
index: c_int,
src: *mut SkSpecialImage,
arg1: *const SkImageFilter_Context,
offset: *mut SkIPoint
) -> sk_sp<SkSpecialImage>
pub unsafe fn applyCropRect(
&self,
arg1: *const SkImageFilter_Context,
srcBounds: *const SkIRect,
dstBounds: *mut SkIRect
) -> bool
[src]
&self,
arg1: *const SkImageFilter_Context,
srcBounds: *const SkIRect,
dstBounds: *mut SkIRect
) -> bool
pub unsafe fn applyCropRectAndPad(
&self,
arg1: *const SkImageFilter_Context,
src: *mut SkSpecialImage,
srcOffset: *mut SkIPoint,
bounds: *mut SkIRect
) -> sk_sp<SkSpecialImage>
[src]
&self,
arg1: *const SkImageFilter_Context,
src: *mut SkSpecialImage,
srcOffset: *mut SkIPoint,
bounds: *mut SkIRect
) -> sk_sp<SkSpecialImage>
pub unsafe fn mapContext(
&self,
ctx: *const SkImageFilter_Context
) -> SkImageFilter_Context
[src]
&self,
ctx: *const SkImageFilter_Context
) -> SkImageFilter_Context
pub unsafe fn ImageToColorSpace(
src: *mut SkSpecialImage,
arg1: *const SkImageFilter_OutputProperties
) -> sk_sp<SkSpecialImage>
[src]
src: *mut SkSpecialImage,
arg1: *const SkImageFilter_OutputProperties
) -> sk_sp<SkSpecialImage>
pub unsafe fn DetermineRepeatedSrcBound(
srcBounds: *const SkIRect,
filterOffset: *const SkIVector,
filterSize: *const SkISize,
originalSrcBounds: *const SkIRect
) -> SkIRect
[src]
srcBounds: *const SkIRect,
filterOffset: *const SkIVector,
filterSize: *const SkISize,
originalSrcBounds: *const SkIRect
) -> SkIRect
pub unsafe fn new(
inputs: *const sk_sp<SkImageFilter>,
inputCount: c_int,
cropRect: *const SkImageFilter_CropRect
) -> Self
[src]
inputs: *const sk_sp<SkImageFilter>,
inputCount: c_int,
cropRect: *const SkImageFilter_CropRect
) -> Self
pub unsafe fn new1(inputCount: c_int, rb: *mut SkReadBuffer) -> Self
[src]
Auto Trait Implementations
impl !Send for SkImageFilter
impl Unpin for SkImageFilter
impl !Sync for SkImageFilter
impl UnwindSafe for SkImageFilter
impl RefUnwindSafe for SkImageFilter
Blanket Implementations
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,