зеркало из https://github.com/mono/SkiaSharp.git
Added logic to add just the breaking changes to the changelogs as well
This commit is contained in:
Родитель
b88d3502e8
Коммит
1e0cd7404e
|
@ -4,7 +4,7 @@
|
|||
#addin nuget:?package=SharpCompress&version=0.22.0
|
||||
#addin nuget:?package=Newtonsoft.Json&version=11.0.2
|
||||
#addin nuget:https://ci.appveyor.com/nuget/cake-monoapitools-gunq9ba46ljl?package=Cake.MonoApiTools&version=2.0.0-preview2
|
||||
#addin nuget:https://ci.appveyor.com/nuget/nugetcomparer-mmjynpq6dcr9?package=Mono.ApiTools.NuGetDiff&version=1.0.0-preview-19&loaddependencies=true
|
||||
#addin nuget:https://ci.appveyor.com/nuget/nugetcomparer-mmjynpq6dcr9?package=Mono.ApiTools.NuGetDiff&version=1.0.0-preview-20&loaddependencies=true
|
||||
|
||||
#tool "nuget:?package=xunit.runner.console&version=2.4.0"
|
||||
#tool "nuget:?package=mdoc&version=5.7.2.3"
|
||||
|
|
|
@ -15,12 +15,19 @@ void CopyChangelogs (DirectoryPath diffRoot, string id, string version)
|
|||
}
|
||||
|
||||
// now copy the markdown files to the changelogs
|
||||
var mdFiles = $"{path}/*.diff.md";
|
||||
var mdFiles = $"{path}/*.*.md";
|
||||
ReplaceTextInFiles (mdFiles, "<h4>", "> ");
|
||||
ReplaceTextInFiles (mdFiles, "</h4>", Environment.NewLine);
|
||||
ReplaceTextInFiles (mdFiles, "\r\r", "\r");
|
||||
foreach (var file in GetFiles (mdFiles)) {
|
||||
var dllName = file.GetFilenameWithoutExtension ().GetFilenameWithoutExtension ().GetFilenameWithoutExtension ();
|
||||
if (file.GetFilenameWithoutExtension ().GetExtension () == ".breaking") {
|
||||
// skip over breaking changes without any breaking changes
|
||||
if (!FindTextInFiles (file.FullPath, "###").Any ())
|
||||
continue;
|
||||
|
||||
dllName += ".breaking";
|
||||
}
|
||||
var changelogPath = (FilePath)$"./changelogs/{id}/{version}/{dllName}.md";
|
||||
EnsureDirectoryExists (changelogPath.GetDirectory ());
|
||||
CopyFile (file, changelogPath);
|
||||
|
@ -53,6 +60,13 @@ Task ("docs-api-diff")
|
|||
Debug ($"Running a diff on '{latestVersion}' vs '{version}' of '{id}'...");
|
||||
var diffRoot = $"{baseDir}/{id}";
|
||||
using (var reader = new PackageArchiveReader ($"./output/nugets/{id.ToLower ()}.{version}.nupkg")) {
|
||||
// run the diff with just the breaking changes
|
||||
comparer.MarkdownDiffFileExtension = ".breaking.md";
|
||||
comparer.IgnoreNonBreakingChanges = true;
|
||||
await comparer.SaveCompleteDiffToDirectoryAsync (id, latestVersion, reader, diffRoot);
|
||||
// run the diff on everything
|
||||
comparer.MarkdownDiffFileExtension = null;
|
||||
comparer.IgnoreNonBreakingChanges = false;
|
||||
await comparer.SaveCompleteDiffToDirectoryAsync (id, latestVersion, reader, diffRoot);
|
||||
}
|
||||
CopyChangelogs (diffRoot, id, version);
|
||||
|
@ -95,6 +109,13 @@ Task ("docs-api-diff-past")
|
|||
// generate the diff and copy to the changelogs
|
||||
Debug ($"Running a diff on '{previous}' vs '{version}' of '{id}'...");
|
||||
var diffRoot = $"{baseDir}/{id}/{version}";
|
||||
// run the diff with just the breaking changes
|
||||
comparer.MarkdownDiffFileExtension = ".breaking.md";
|
||||
comparer.IgnoreNonBreakingChanges = true;
|
||||
await comparer.SaveCompleteDiffToDirectoryAsync (id, previous, version, diffRoot);
|
||||
// run the diff on everything
|
||||
comparer.MarkdownDiffFileExtension = null;
|
||||
comparer.IgnoreNonBreakingChanges = false;
|
||||
await comparer.SaveCompleteDiffToDirectoryAsync (id, previous, version, diffRoot);
|
||||
CopyChangelogs (diffRoot, id, version);
|
||||
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
# API diff: SkiaSharp.Views.Mac.dll
|
||||
|
||||
## SkiaSharp.Views.Mac.dll
|
||||
|
||||
> Assembly Version Changed: 1.56.0.0 vs 1.55.0.0
|
||||
|
||||
### Namespace SkiaSharp.Views.Mac
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.Mac.Extensions
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
public static System.Drawing.Color ToDrawingColor (this SkiaSharp.SKColor color);
|
||||
public static SkiaSharp.SKColor ToSKColor (this System.Drawing.Color color);
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
# API diff: SkiaSharp.Views.iOS.dll
|
||||
|
||||
## SkiaSharp.Views.iOS.dll
|
||||
|
||||
> Assembly Version Changed: 1.56.0.0 vs 1.55.0.0
|
||||
|
||||
### Namespace SkiaSharp.Views.iOS
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.iOS.Extensions
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
public static System.Drawing.Color ToDrawingColor (this SkiaSharp.SKColor color);
|
||||
public static SkiaSharp.SKColor ToSKColor (this System.Drawing.Color color);
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
# API diff: SkiaSharp.Views.tvOS.dll
|
||||
|
||||
## SkiaSharp.Views.tvOS.dll
|
||||
|
||||
> Assembly Version Changed: 1.56.0.0 vs 1.55.0.0
|
||||
|
||||
### Namespace SkiaSharp.Views.tvOS
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.tvOS.Extensions
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
public static System.Drawing.Color ToDrawingColor (this SkiaSharp.SKColor color);
|
||||
public static SkiaSharp.SKColor ToSKColor (this System.Drawing.Color color);
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
> Assembly Version Changed: 1.53.0.0 vs 1.49.0.0
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.SKAlphaType
|
||||
|
||||
Modified fields:
|
||||
|
||||
```diff
|
||||
-Opaque = 0
|
||||
+Opaque = 1
|
||||
-Premul = 1
|
||||
+Premul = 2
|
||||
-Unpremul = 2
|
||||
+Unpremul = 3
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKBitmap
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
public static SKBitmap Decode (SKStreamRewindable stream, SKColorType pref);
|
||||
public static SKBitmap Decode (byte[] buffer, SKColorType pref);
|
||||
public static SKBitmap Decode (string filename, SKColorType pref);
|
||||
public static SKImageInfo DecodeBounds (SKStreamRewindable stream, SKColorType pref);
|
||||
public static SKImageInfo DecodeBounds (byte[] buffer, SKColorType pref);
|
||||
public static SKImageInfo DecodeBounds (string filename, SKColorType pref);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKCanvas
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
public void ClipPath (SKPath path);
|
||||
public void ClipRect (SKRect rect);
|
||||
public void Save ();
|
||||
public void SaveLayer (SKPaint paint);
|
||||
public void SaveLayer (SKRect limit, SKPaint paint);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKColorType
|
||||
|
||||
Removed values:
|
||||
|
||||
```csharp
|
||||
Alpha_8 = 3,
|
||||
Bgra_8888 = 2,
|
||||
N_32 = 5,
|
||||
Rgb_565 = 4,
|
||||
Rgba_8888 = 1,
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKImageFilter
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
public static SKImageFilter CreateDownSample (float scale, SKImageFilter input);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPictureRecorder
|
||||
|
||||
Removed constructor:
|
||||
|
||||
```csharp
|
||||
public SKPictureRecorder (IntPtr handle);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKSurfaceProps
|
||||
|
||||
Removed property:
|
||||
|
||||
```csharp
|
||||
public SKPixelGeometry PixelGeometry { get; set; }
|
||||
```
|
||||
|
||||
|
||||
#### Removed Type SkiaSharp.SKImageDecoder
|
||||
#### Removed Type SkiaSharp.SKImageDecoderFormat
|
||||
#### Removed Type SkiaSharp.SKImageDecoderMode
|
||||
#### Removed Type SkiaSharp.SKImageDecoderResult
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.SKImageFilter
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
public static SKImageFilter CreateDownSample (float dx, float dy, float sigmaX, float sigmaY, SKColor color, SKDropShadowImageFilterShadowMode shadowMode, SKImageFilter input, SKImageFilter.CropRect cropRect);
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
> Assembly Version Changed: 1.54.0.0 vs 1.53.0.0
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.SKCodecOptions
|
||||
|
||||
Removed fields:
|
||||
|
||||
```csharp
|
||||
public bool HasSubset;
|
||||
public SKRectI Subset;
|
||||
public SKZeroInitialized ZeroInitialized;
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKImageInfo
|
||||
|
||||
Removed fields:
|
||||
|
||||
```csharp
|
||||
public SKAlphaType AlphaType;
|
||||
public SKColorType ColorType;
|
||||
public int Height;
|
||||
public int Width;
|
||||
```
|
||||
|
||||
Modified properties:
|
||||
|
||||
```diff
|
||||
-public SKPointI Size { get; }
|
||||
+public SKSizeI Size { get; }
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKRect
|
||||
|
||||
Removed fields:
|
||||
|
||||
```csharp
|
||||
public float Bottom;
|
||||
public float Left;
|
||||
public float Right;
|
||||
public float Top;
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKRectI
|
||||
|
||||
Removed fields:
|
||||
|
||||
```csharp
|
||||
public int Bottom;
|
||||
public int Left;
|
||||
public int Right;
|
||||
public int Top;
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKSize
|
||||
|
||||
Removed fields:
|
||||
|
||||
```csharp
|
||||
public float Height;
|
||||
public float Width;
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKSizeI
|
||||
|
||||
Removed fields:
|
||||
|
||||
```csharp
|
||||
public int Height;
|
||||
public int Width;
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKSurfaceProps
|
||||
|
||||
Removed field:
|
||||
|
||||
```csharp
|
||||
public SKPixelGeometry PixelGeometry;
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.SKMatrix
|
||||
|
||||
Removed fields:
|
||||
|
||||
```csharp
|
||||
public float Persp0;
|
||||
public float Persp1;
|
||||
public float Persp2;
|
||||
public float ScaleX;
|
||||
public float ScaleY;
|
||||
public float SkewX;
|
||||
public float SkewY;
|
||||
public float TransX;
|
||||
public float TransY;
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKObject
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
public virtual void Dispose ();
|
||||
protected override void ~SKObject ();
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPath
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPath.Iterator
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
public virtual void Dispose ();
|
||||
protected override void ~Iterator ();
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPath.RawIterator
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
public virtual void Dispose ();
|
||||
protected override void ~RawIterator ();
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,77 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
> Assembly Version Changed: 1.55.0.0 vs 1.54.0.0
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.GRContext
|
||||
|
||||
Modified methods:
|
||||
|
||||
```diff
|
||||
public void Flush (GRContextFlushBits flagsBitfield--- = 0---)
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKCanvas
|
||||
|
||||
Modified methods:
|
||||
|
||||
```diff
|
||||
public void ClipPath (SKPath path, SKRegionOperation operation--- = 1---, bool antialias = false)
|
||||
public void ClipRect (SKRect rect, SKRegionOperation operation--- = 1---, bool antialias = false)
|
||||
public void DrawColor (SKColor color, SKXferMode mode--- = 1---)
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKCodec
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
public void GetValidSubset (ref SKRectI desiredSubset);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKCodecOptions
|
||||
|
||||
Modified properties:
|
||||
|
||||
```diff
|
||||
public bool HasSubset { get; ---set;--- }
|
||||
-public SKRectI Subset { get; set; }
|
||||
+public SKRectI? Subset { get; set; }
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKDocument
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
public bool Close ();
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKMatrix
|
||||
|
||||
Modified methods:
|
||||
|
||||
```diff
|
||||
-static public void MapRect (ref SKMatrix matrix, out SKRect dest, ref SKRect source)
|
||||
+ public void MapRect (ref SKMatrix matrix, out SKRect dest, ref SKRect source)
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPictureRecorder
|
||||
|
||||
Removed constructor:
|
||||
|
||||
```csharp
|
||||
public SKPictureRecorder (IntPtr handle, bool owns);
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
> Assembly Version Changed: 1.56.0.0 vs 1.55.0.0
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.SKImageFilter
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
public static SKImageFilter CreateMerge (SKImageFilter[] filters, SKXferMode[] modes, SKImageFilter.CropRect cropRect);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPictureRecorder
|
||||
|
||||
Modified methods:
|
||||
|
||||
```diff
|
||||
-public SKCanvas BeginRecording (SKRect rect)
|
||||
+public SKCanvas BeginRecording (SKRect cullRect)
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,70 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.SKBitmap
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
public SKColor GetIndex8Color (int x, int y);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKColorTable
|
||||
|
||||
Modified properties:
|
||||
|
||||
```diff
|
||||
-public SKColor[] Colors { get; }
|
||||
+public SKPMColor[] Colors { get; }
|
||||
-public SKColor this [int index] { get; }
|
||||
+public SKPMColor this [int index] { get; }
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKImageInfo
|
||||
|
||||
Modified fields:
|
||||
|
||||
```diff
|
||||
-public readonly SKImageInfo Empty;
|
||||
+public SKImageInfo Empty;
|
||||
-public readonly SKColorType PlatformColorType;
|
||||
+public SKColorType PlatformColorType;
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPath
|
||||
|
||||
Modified methods:
|
||||
|
||||
```diff
|
||||
public void AddPath (SKPath other, SKPath.AddMode mode--- = 0---)
|
||||
public void AddPath (SKPath other, ref SKMatrix matrix, SKPath.AddMode mode--- = 0---)
|
||||
public void AddPath (SKPath other, float dx, float dy, SKPath.AddMode mode--- = 0---)
|
||||
```
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPath.Iterator
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
public SKPath.Verb Next (SKPoint[] points, bool doConsumeDegenerates, bool exact);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPath.RawIterator
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
public SKPath.Verb Next (SKPoint[] points);
|
||||
public SKPath.Verb Peek ();
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,87 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
> Assembly Version Changed: 1.57.0.0 vs 1.56.0.0
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.GRPixelConfig
|
||||
|
||||
Removed value:
|
||||
|
||||
```csharp
|
||||
Index8 = 2,
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKCodec
|
||||
|
||||
Modified properties:
|
||||
|
||||
```diff
|
||||
-public SKEncodedFormat EncodedFormat { get; }
|
||||
+public SKEncodedImageFormat EncodedFormat { get; }
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKImage
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
public SKImage ToTextureImage (GRContext context);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKImageEncodeFormat
|
||||
|
||||
Removed value:
|
||||
|
||||
```csharp
|
||||
Unknown = 0,
|
||||
```
|
||||
|
||||
Modified fields:
|
||||
|
||||
```diff
|
||||
-Bmp = 1
|
||||
+Bmp = 0
|
||||
-Gif = 2
|
||||
+Gif = 1
|
||||
-Ico = 3
|
||||
+Ico = 2
|
||||
-Jpeg = 4
|
||||
+Jpeg = 3
|
||||
-Png = 5
|
||||
+Png = 4
|
||||
-Wbmp = 6
|
||||
+Wbmp = 5
|
||||
-Webp = 7
|
||||
+Webp = 6
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKMaskFilter
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
public static SKMaskFilter CreateEmboss (float blurSigma, SKPoint3 direction, float ambient, float specular);
|
||||
public static SKMaskFilter CreateEmboss (float blurSigma, float directionX, float directionY, float directionZ, float ambient, float specular);
|
||||
public static SKMaskFilter CreateShadow (float occluderHeight, SKPoint3 lightPos, float lightRadius, float ambientAlpha, float spotAlpha, SKShadowMaskFilterShadowFlags flags);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKWStream
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
public void NewLine ();
|
||||
```
|
||||
|
||||
|
||||
#### Removed Type SkiaSharp.SKEncodedFormat
|
||||
#### Removed Type SkiaSharp.SKShadowMaskFilterShadowFlags
|
||||
|
|
@ -0,0 +1,104 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
> Assembly Version Changed: 1.58.0.0 vs 1.57.0.0
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.GRContextOptions
|
||||
|
||||
Removed properties:
|
||||
|
||||
```csharp
|
||||
public bool ClipBatchToBounds { get; set; }
|
||||
public bool DrawBatchBounds { get; set; }
|
||||
public bool ForceSWPathMasks { get; set; }
|
||||
public int MaxBatchLookahead { get; set; }
|
||||
public int MaxBatchLookback { get; set; }
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.GRPixelConfig
|
||||
|
||||
Removed values:
|
||||
|
||||
```csharp
|
||||
Astc12x12 = 12,
|
||||
Latc = 10,
|
||||
R11Eac = 11,
|
||||
```
|
||||
|
||||
Modified fields:
|
||||
|
||||
```diff
|
||||
-AlphaHalf = 14
|
||||
+AlphaHalf = 12
|
||||
-RgbaFloat = 13
|
||||
+RgbaFloat = 10
|
||||
-RgbaHalf = 15
|
||||
+RgbaHalf = 13
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKColorFilter
|
||||
|
||||
Removed fields:
|
||||
|
||||
```csharp
|
||||
public static const int MaxColorCubeDimension;
|
||||
public static const int MinColorCubeDimension;
|
||||
```
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
public static SKColorFilter CreateColorCube (SKData cubeData, int cubeDimension);
|
||||
public static SKColorFilter CreateColorCube (byte[] cubeData, int cubeDimension);
|
||||
public static SKColorFilter CreateGamma (float gamma);
|
||||
public static bool IsValid3DColorCube (SKData cubeData, int cubeDimension);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKImageEncodeFormat
|
||||
|
||||
Modified fields:
|
||||
|
||||
```diff
|
||||
-Bmp = 0
|
||||
+Bmp = 1
|
||||
-Gif = 1
|
||||
+Gif = 2
|
||||
-Ico = 2
|
||||
+Ico = 3
|
||||
-Jpeg = 3
|
||||
+Jpeg = 4
|
||||
-Png = 4
|
||||
+Png = 5
|
||||
-Wbmp = 5
|
||||
+Wbmp = 6
|
||||
-Webp = 6
|
||||
+Webp = 7
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKImageFilter
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
public static SKImageFilter CreateMagnifier (SKRect src, float inset, SKImageFilter input);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPaint
|
||||
|
||||
Removed properties:
|
||||
|
||||
```csharp
|
||||
public bool StrikeThruText { get; set; }
|
||||
public bool UnderlineText { get; set; }
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.GRContextOptions
|
||||
|
||||
Removed properties:
|
||||
|
||||
```csharp
|
||||
public bool DisableDistanceFieldPaths { get; set; }
|
||||
public bool ForceSoftwarePathMasks { get; set; }
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
> Assembly Version Changed: 1.59.0.0 vs 1.58.0.0
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.GRContextOptions
|
||||
|
||||
Removed property:
|
||||
|
||||
```csharp
|
||||
public bool ClipDrawOpsToBounds { get; set; }
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,278 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
> Assembly Version Changed: 1.60.0.0 vs 1.59.0.0
|
||||
|
||||
### Namespace SkiaSharp
|
||||
|
||||
#### Type Changed: SkiaSharp.GRContext
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use Flush() instead.")]
|
||||
public void Flush (GRContextFlushBits flagsBitfield);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.GRContextOptions
|
||||
|
||||
Removed properties:
|
||||
|
||||
```csharp
|
||||
public int MaxOpCombineLookahead { get; set; }
|
||||
public int MaxOpCombineLookback { get; set; }
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.GRContextOptionsGpuPathRenderers
|
||||
|
||||
Removed values:
|
||||
|
||||
```csharp
|
||||
DistanceField = 128,
|
||||
Pls = 64,
|
||||
```
|
||||
|
||||
Modified fields:
|
||||
|
||||
```diff
|
||||
-All = 1023
|
||||
+All = 511
|
||||
-Default = 512
|
||||
+Default = 256
|
||||
-Tessellating = 256
|
||||
+Tessellating = 128
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.GRGlInterface
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateNativeGlInterface() or CreateDefaultInterface() instead.")]
|
||||
public static GRGlInterface CreateNativeInterface ();
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.GRPixelConfig
|
||||
|
||||
Removed value:
|
||||
|
||||
```csharp
|
||||
Etc1 = 9,
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.GRSurfaceOrigin
|
||||
|
||||
Modified fields:
|
||||
|
||||
```diff
|
||||
-BottomLeft = 1
|
||||
+BottomLeft = 2
|
||||
-TopLeft = 0
|
||||
+TopLeft = 1
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKBitmap
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use SKPixmap.ReadPixels instead.")]
|
||||
public bool CopyPixelsTo (IntPtr dst, int dstSize, int dstRowBytes, bool preserveDstPad);
|
||||
public void LockPixels ();
|
||||
public void UnlockPixels ();
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKCanvas
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use ClipPath(SKPath, SKClipOperation, bool) instead.")]
|
||||
public void ClipPath (SKPath path, SKRegionOperation operation, bool antialias);
|
||||
|
||||
[Obsolete ("Use ClipRect(SKRect, SKClipOperation, bool) instead.")]
|
||||
public void ClipRect (SKRect rect, SKRegionOperation operation, bool antialias);
|
||||
|
||||
[Obsolete ("Use DrawColor(SKColor, SKBlendMode) instead.")]
|
||||
public void DrawColor (SKColor color, SKXferMode mode);
|
||||
|
||||
[Obsolete ("Use DrawPositionedText instead.")]
|
||||
public void DrawText (string text, SKPoint[] points, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawPositionedText instead.")]
|
||||
public void DrawText (IntPtr buffer, int length, SKPoint[] points, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
public void DrawText (byte[] text, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
public void DrawText (string text, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
public void DrawText (IntPtr buffer, int length, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use GetLocalClipBounds instead.")]
|
||||
public bool GetClipBounds (ref SKRect bounds);
|
||||
|
||||
[Obsolete ("Use GetDeviceClipBounds instead.")]
|
||||
public bool GetClipDeviceBounds (ref SKRectI bounds);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKColorFilter
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateBlendMode(SKColor, SKBlendMode) instead.")]
|
||||
public static SKColorFilter CreateBlendMode (SKColor c, SKXferMode mode);
|
||||
|
||||
[Obsolete ("Use CreateBlendMode(SKColor, SKBlendMode) instead.")]
|
||||
public static SKColorFilter CreateXferMode (SKColor c, SKXferMode mode);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKColorSpace
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use SKColorSpacePrimaries.ToXyzD50 instead.")]
|
||||
public static SKMatrix44 ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries);
|
||||
|
||||
[Obsolete ("Use SKColorSpacePrimaries.ToXyzD50(SKMatrix44) instead.")]
|
||||
public static bool ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries, SKMatrix44 toXyzD50);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKData
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Not supported.")]
|
||||
public static SKData FromMallocMemory (IntPtr bytes, ulong length);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKDynamicMemoryWStream
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
public void CopyTo (SKWStream dst);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKImage
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use Encode(SKEncodedImageFormat, int) instead.")]
|
||||
public SKData Encode (SKImageEncodeFormat format, int quality);
|
||||
|
||||
[Obsolete ("Use FromEncodedData instead.")]
|
||||
public static SKImage FromData (SKData data);
|
||||
|
||||
[Obsolete ("Use FromEncodedData instead.")]
|
||||
public static SKImage FromData (SKData data, SKRectI subset);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKImageFilter
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateDisplacementMapEffect instead.")]
|
||||
public static SKImageFilter CreateCompose (SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input, SKImageFilter.CropRect cropRect);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKManagedStream
|
||||
|
||||
Modified base type:
|
||||
|
||||
```diff
|
||||
-SkiaSharp.SKStreamAsset
|
||||
+SkiaSharp.SKAbstractManagedStream
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKManagedWStream
|
||||
|
||||
Modified base type:
|
||||
|
||||
```diff
|
||||
-SkiaSharp.SKWStream
|
||||
+SkiaSharp.SKAbstractManagedWStream
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKMatrix
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use MapPoint instead.")]
|
||||
public SKPoint MapXY (float x, float y);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPath
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use AddPath(SKPath, SKPathAddMode) instead.")]
|
||||
public void AddPath (SKPath other, SKPath.AddMode mode);
|
||||
|
||||
[Obsolete ("Use AddPath(SKPath, ref SKMatrix, SKPathAddMode) instead.")]
|
||||
public void AddPath (SKPath other, ref SKMatrix matrix, SKPath.AddMode mode);
|
||||
|
||||
[Obsolete ("Use AddPath(SKPath, float, float, SKPathAddMode) instead.")]
|
||||
public void AddPath (SKPath other, float dx, float dy, SKPath.AddMode mode);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPathEffect
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use Create1DPath(SKPath, float, float, SKPath1DPathEffectStyle) instead.")]
|
||||
public static SKPathEffect Create1DPath (SKPath path, float advance, float phase, SkPath1DPathEffectStyle style);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKPathMeasure
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use GetMatrix(float, out SKMatrix, SKPathMeasureMatrixFlags) instead.")]
|
||||
public bool GetMatrix (float distance, out SKMatrix matrix, SKPathMeasure.MatrixFlags flags);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.SKShader
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateCompose(SKShader, SKShader, SKBlendMode) instead.")]
|
||||
public static SKShader CreateCompose (SKShader shaderA, SKShader shaderB, SKXferMode mode);
|
||||
```
|
||||
|
||||
|
||||
#### Removed Type SkiaSharp.SKAutoLockPixels
|
||||
|
Загрузка…
Ссылка в новой задаче