Correct the p/invoke generation
This commit is contained in:
Родитель
04857a3caa
Коммит
295eea2a1b
|
@ -46,28 +46,37 @@ namespace SkiaSharp
|
|||
return GetObject (SkiaApi.sk_maskfilter_new_blur (blurStyle, sigma));
|
||||
}
|
||||
|
||||
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, bool respectCTM)
|
||||
{
|
||||
return GetObject (SkiaApi.sk_maskfilter_new_blur_with_flags (blurStyle, sigma, respectCTM));
|
||||
}
|
||||
|
||||
[EditorBrowsable (EditorBrowsableState.Never)]
|
||||
[Obsolete ("Use CreateBlur(SKBlurStyle, float) instead.")]
|
||||
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKBlurMaskFilterFlags flags)
|
||||
{
|
||||
return CreateBlur (blurStyle, sigma, SKRect.Empty, true);
|
||||
}
|
||||
|
||||
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKRect occluder)
|
||||
{
|
||||
return CreateBlur (blurStyle, sigma, occluder, true);
|
||||
return CreateBlur (blurStyle, sigma, true);
|
||||
}
|
||||
|
||||
[EditorBrowsable (EditorBrowsableState.Never)]
|
||||
[Obsolete ("Use CreateBlur(SKBlurStyle, float, SKRect) instead.")]
|
||||
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKRect occluder, SKBlurMaskFilterFlags flags)
|
||||
[Obsolete ("Use CreateBlur(SKBlurStyle, float) instead.")]
|
||||
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKRect occluder)
|
||||
{
|
||||
return CreateBlur (blurStyle, sigma, occluder, true);
|
||||
return CreateBlur (blurStyle, sigma, true);
|
||||
}
|
||||
|
||||
[EditorBrowsable (EditorBrowsableState.Never)]
|
||||
[Obsolete ("Use CreateBlur(SKBlurStyle, float) instead.")]
|
||||
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKRect occluder, SKBlurMaskFilterFlags flags)
|
||||
{
|
||||
return CreateBlur (blurStyle, sigma, true);
|
||||
}
|
||||
|
||||
[EditorBrowsable (EditorBrowsableState.Never)]
|
||||
[Obsolete ("Use CreateBlur(SKBlurStyle, float, bool) instead.")]
|
||||
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKRect occluder, bool respectCTM)
|
||||
{
|
||||
return GetObject (SkiaApi.sk_maskfilter_new_blur_with_flags (blurStyle, sigma, &occluder, respectCTM));
|
||||
return CreateBlur (blurStyle, sigma, respectCTM);
|
||||
}
|
||||
|
||||
public static SKMaskFilter CreateTable (byte[] table)
|
||||
|
|
|
@ -1656,9 +1656,9 @@ namespace SkiaSharp
|
|||
[DllImport (SKIA, CallingConvention = CallingConvention.Cdecl)]
|
||||
internal static extern sk_maskfilter_t sk_maskfilter_new_blur (SKBlurStyle param0, Single sigma);
|
||||
|
||||
// sk_maskfilter_t* sk_maskfilter_new_blur_with_flags(sk_blurstyle_t, float sigma, const sk_rect_t* occluder, bool respectCTM)
|
||||
// sk_maskfilter_t* sk_maskfilter_new_blur_with_flags(sk_blurstyle_t, float sigma, bool respectCTM)
|
||||
[DllImport (SKIA, CallingConvention = CallingConvention.Cdecl)]
|
||||
internal static extern sk_maskfilter_t sk_maskfilter_new_blur_with_flags (SKBlurStyle param0, Single sigma, SKRect* occluder, [MarshalAs (UnmanagedType.I1)] bool respectCTM);
|
||||
internal static extern sk_maskfilter_t sk_maskfilter_new_blur_with_flags (SKBlurStyle param0, Single sigma, [MarshalAs (UnmanagedType.I1)] bool respectCTM);
|
||||
|
||||
// sk_maskfilter_t* sk_maskfilter_new_clip(uint8_t min, uint8_t max)
|
||||
[DllImport (SKIA, CallingConvention = CallingConvention.Cdecl)]
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9a913efdadbcb737a3d4176d9439cab0f981cd5d
|
||||
Subproject commit fe5185495a925ca7ead436ed71904c510349b3ad
|
Загрузка…
Ссылка в новой задаче