Skip to content

Commit

Permalink
Re-generate the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Jun 27, 2020
1 parent a5d30e9 commit 0526308
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 3 deletions.
89 changes: 88 additions & 1 deletion changelogs/SkiaSharp/2.80.0/SkiaSharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,18 @@ Obsoleted methods:
public static GRContext Create (GRBackend backend);
[Obsolete ("Use CreateGl(GRGlInterface) instead.")]
public static GRContext Create (GRBackend backend, GRGlInterface backendContext);
[Obsolete ("Use GetResourceCacheLimit() instead.")]
public void GetResourceCacheLimits (out int maxResources, out long maxResourceBytes);
[Obsolete ("Use SetResourceCacheLimit(long) instead.")]
public void SetResourceCacheLimits (int maxResources, long maxResourceBytes);
```

Added method:
Added methods:

```csharp
public static GRContext CreateVulkan (GRVkBackendContext backendContext);
public long GetResourceCacheLimit ();
public void SetResourceCacheLimit (long maxResourceBytes);
```


Expand Down Expand Up @@ -319,6 +325,30 @@ public SKImage ToTextureImage (GRContext context, bool mipmapped);
```


#### Type Changed: SkiaSharp.SKImageFilter

Obsoleted methods:

```diff
[Obsolete ("Use CreateDisplacementMapEffect(SKColorChannel, SKColorChannel, float, SKImageFilter, SKImageFilter, SKImageFilter.CropRect) instead.")]
public static SKImageFilter CreateDisplacementMapEffect (SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input, SKImageFilter.CropRect cropRect);
[Obsolete ("Use CreateDropShadow or CreateDropShadowOnly instead.")]
public static SKImageFilter CreateDropShadow (float dx, float dy, float sigmaX, float sigmaY, SKColor color, SKDropShadowImageFilterShadowMode shadowMode, SKImageFilter input, SKImageFilter.CropRect cropRect);
[Obsolete ("Use CreateMatrixConvolution(SKSizeI, float[], float, float, SKPointI, SKShaderTileMode, bool, SKImageFilter, SKImageFilter.CropRect) instead.")]
public static SKImageFilter CreateMatrixConvolution (SKSizeI kernelSize, float[] kernel, float gain, float bias, SKPointI kernelOffset, SKMatrixConvolutionTileMode tileMode, bool convolveAlpha, SKImageFilter input, SKImageFilter.CropRect cropRect);
```

Added methods:

```csharp
public static SKImageFilter CreateBlur (float sigmaX, float sigmaY, SKShaderTileMode tileMode, SKImageFilter input, SKImageFilter.CropRect cropRect);
public static SKImageFilter CreateDisplacementMapEffect (SKColorChannel xChannelSelector, SKColorChannel yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input, SKImageFilter.CropRect cropRect);
public static SKImageFilter CreateDropShadow (float dx, float dy, float sigmaX, float sigmaY, SKColor color, SKImageFilter input, SKImageFilter.CropRect cropRect);
public static SKImageFilter CreateDropShadowOnly (float dx, float dy, float sigmaX, float sigmaY, SKColor color, SKImageFilter input, SKImageFilter.CropRect cropRect);
public static SKImageFilter CreateMatrixConvolution (SKSizeI kernelSize, float[] kernel, float gain, float bias, SKPointI kernelOffset, SKShaderTileMode tileMode, bool convolveAlpha, SKImageFilter input, SKImageFilter.CropRect cropRect);
```


#### Type Changed: SkiaSharp.SKJpegEncoderOptions

Obsoleted constructors:
Expand Down Expand Up @@ -389,6 +419,24 @@ Obsoleted methods:
```


#### Type Changed: SkiaSharp.SKNativeObject

Added method:

```csharp
protected virtual void DisposeUnownedManaged ();
```


#### Type Changed: SkiaSharp.SKObject

Added method:

```csharp
protected override void DisposeUnownedManaged ();
```


#### Type Changed: SkiaSharp.SKPaint

Added constructor:
Expand Down Expand Up @@ -581,6 +629,15 @@ Decal = 3,
```


#### Type Changed: SkiaSharp.SKSurface

Added method:

```csharp
public SKImage Snapshot (SKRectI bounds);
```


#### Type Changed: SkiaSharp.SKTextBlob

Added methods:
Expand Down Expand Up @@ -768,6 +825,9 @@ Added methods:

```csharp

[Obsolete ("Use SKColorChannel instead.")]
public static SKColorChannel ToColorChannel (this SKDisplacementMapEffectChannelSelectorType channelSelectorType);

[Obsolete]
public static SKColorSpaceTransferFn ToColorSpaceTransferFn (this SKColorSpaceRenderTargetGamma gamma);

Expand All @@ -779,6 +839,9 @@ public static SKColorSpaceXyz ToColorSpaceXyz (this SKColorSpaceGamut gamut);

[Obsolete]
public static SKColorSpaceXyz ToColorSpaceXyz (this SKMatrix44 matrix);

[Obsolete ("Use SKShaderTileMode instead.")]
public static SKShaderTileMode ToShaderTileMode (this SKMatrixConvolutionTileMode tileMode);
```


Expand Down Expand Up @@ -910,6 +973,18 @@ public struct GrVkYcbcrConversionInfo, System.IEquatable<GrVkYcbcrConversionInfo
}
```

#### New Type: SkiaSharp.SKColorChannel

```csharp
[Serializable]
public enum SKColorChannel {
A = 3,
B = 2,
G = 1,
R = 0,
}
```

#### New Type: SkiaSharp.SKColorSpaceIccProfile

```csharp
Expand Down Expand Up @@ -1056,4 +1131,16 @@ public sealed class SKRotationScaleRunBuffer : SkiaSharp.SKRunBuffer {
}
```

#### New Type: SkiaSharp.SkiaSharpVersion

```csharp
public static class SkiaSharpVersion {
// properties
public static System.Version Native { get; }
public static System.Version NativeMinimum { get; }
// methods
public static bool CheckNativeLibraryCompatible (bool throwIfIncompatible);
}
```


2 changes: 1 addition & 1 deletion externals/skia

0 comments on commit 0526308

Please sign in to comment.