This commit is contained in:
Matthew Leibowitz 2022-08-14 13:15:56 +02:00
Родитель 89cd4626ac
Коммит 3942938a22
8 изменённых файлов: 191 добавлений и 9 удалений

Просмотреть файл

@ -220,13 +220,19 @@ string[] GetDotNetPacksSearchPaths()
var dotnetRoot = latestSdk.Combine("..");
foreach(var pack in GetDirectories(dotnetRoot.Combine("packs").FullPath + "/*.Ref.*")) {
var latestPath = GetDirectories(pack.FullPath + "/*").Last();
refs.AddRange(GetDirectories(latestPath.FullPath + "/ref/net*").Select(d => d.FullPath));
var paths = GetDirectories(pack.FullPath + "/*");
foreach (var path in paths) {
var r = GetDirectories(path.FullPath + "/ref/net*");
refs.AddRange(r.Select(d => d.FullPath));
}
}
foreach(var pack in GetDirectories(dotnetRoot.Combine("packs").FullPath + "/*.Ref")) {
var latestPath = GetDirectories(pack.FullPath + "/*").Last();
refs.AddRange(GetDirectories(latestPath.FullPath + "/ref/net*").Select(d => d.FullPath));
var paths = GetDirectories(pack.FullPath + "/*");
foreach (var path in paths) {
var r = GetDirectories(path.FullPath + "/ref/net*");
refs.AddRange(r.Select(d => d.FullPath));
}
}
return refs.ToArray();

Просмотреть файл

@ -0,0 +1,8 @@
# API diff: HarfBuzzSharp.dll
## HarfBuzzSharp.dll
### Namespace HarfBuzzSharp
#### Removed Type HarfBuzzSharp.Resource

Просмотреть файл

@ -2,4 +2,25 @@
## HarfBuzzSharp.dll
> No changes.
### Namespace HarfBuzzSharp
#### Removed Type HarfBuzzSharp.Resource
### New Namespace HarfBuzzSharp.Internals
#### New Type: HarfBuzzSharp.Internals.PlatformConfiguration
```csharp
public static class PlatformConfiguration {
// properties
public static bool Is64Bit { get; }
public static bool IsArm { get; }
public static bool IsGlibc { get; }
public static bool IsLinux { get; }
public static bool IsMac { get; }
public static bool IsUnix { get; }
public static bool IsWindows { get; }
public static string LinuxFlavor { get; set; }
}
```

Просмотреть файл

@ -2,4 +2,68 @@
## SkiaSharp.HarfBuzz.dll
> No changes.
> Assembly Version Changed: 2.88.0.0 vs 0.0.0.0
### New Namespace SkiaSharp.HarfBuzz
#### New Type: SkiaSharp.HarfBuzz.BlobExtensions
```csharp
public static class BlobExtensions {
// methods
public static HarfBuzzSharp.Blob ToHarfBuzzBlob (this SkiaSharp.SKStreamAsset asset);
}
```
#### New Type: SkiaSharp.HarfBuzz.CanvasExtensions
```csharp
public static class CanvasExtensions {
// methods
public static void DrawShapedText (this SkiaSharp.SKCanvas canvas, string text, SkiaSharp.SKPoint p, SkiaSharp.SKPaint paint);
public static void DrawShapedText (this SkiaSharp.SKCanvas canvas, SKShaper shaper, string text, SkiaSharp.SKPoint p, SkiaSharp.SKPaint paint);
public static void DrawShapedText (this SkiaSharp.SKCanvas canvas, string text, float x, float y, SkiaSharp.SKPaint paint);
public static void DrawShapedText (this SkiaSharp.SKCanvas canvas, SKShaper shaper, string text, float x, float y, SkiaSharp.SKPaint paint);
}
```
#### New Type: SkiaSharp.HarfBuzz.FontExtensions
```csharp
public static class FontExtensions {
// methods
public static SkiaSharp.SKSizeI GetScale (this HarfBuzzSharp.Font font);
public static void SetScale (this HarfBuzzSharp.Font font, SkiaSharp.SKSizeI scale);
}
```
#### New Type: SkiaSharp.HarfBuzz.SKShaper
```csharp
public class SKShaper : System.IDisposable {
// constructors
public SKShaper (SkiaSharp.SKTypeface typeface);
// properties
public SkiaSharp.SKTypeface Typeface { get; }
// methods
public virtual void Dispose ();
public SKShaper.Result Shape (HarfBuzzSharp.Buffer buffer, SkiaSharp.SKPaint paint);
public SKShaper.Result Shape (string text, SkiaSharp.SKPaint paint);
public SKShaper.Result Shape (HarfBuzzSharp.Buffer buffer, float xOffset, float yOffset, SkiaSharp.SKPaint paint);
public SKShaper.Result Shape (string text, float xOffset, float yOffset, SkiaSharp.SKPaint paint);
// inner types
public class Result {
// constructors
public SKShaper.Result ();
public SKShaper.Result (uint[] codepoints, uint[] clusters, SkiaSharp.SKPoint[] points);
public SKShaper.Result (uint[] codepoints, uint[] clusters, SkiaSharp.SKPoint[] points, float width);
// properties
public uint[] Clusters { get; }
public uint[] Codepoints { get; }
public SkiaSharp.SKPoint[] Points { get; }
public float Width { get; }
}
}
```

Просмотреть файл

@ -2,4 +2,48 @@
## SkiaSharp.Vulkan.SharpVk.dll
> No changes.
> Assembly Version Changed: 2.88.0.0 vs 0.0.0.0
### New Namespace SkiaSharp
#### New Type: SkiaSharp.GRSharpVkBackendContext
```csharp
public class GRSharpVkBackendContext : SkiaSharp.GRVkBackendContext, System.IDisposable {
// constructors
public GRSharpVkBackendContext ();
// properties
public GRSharpVkGetProcedureAddressDelegate GetProcedureAddress { get; set; }
public SharpVk.Device VkDevice { get; set; }
public SharpVk.Instance VkInstance { get; set; }
public SharpVk.PhysicalDevice VkPhysicalDevice { get; set; }
public SharpVk.PhysicalDeviceFeatures? VkPhysicalDeviceFeatures { get; set; }
public SharpVk.Queue VkQueue { get; set; }
// methods
protected override void Dispose (bool disposing);
}
```
#### New Type: SkiaSharp.GRSharpVkGetProcedureAddressDelegate
```csharp
public sealed delegate GRSharpVkGetProcedureAddressDelegate : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public GRSharpVkGetProcedureAddressDelegate (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (string name, SharpVk.Instance instance, SharpVk.Device device, System.AsyncCallback callback, object object);
public virtual IntPtr EndInvoke (System.IAsyncResult result);
public virtual IntPtr Invoke (string name, SharpVk.Instance instance, SharpVk.Device device);
}
```
#### New Type: SkiaSharp.GRVkExtensionsSharpVkExtensions
```csharp
public static class GRVkExtensionsSharpVkExtensions {
// methods
public static void Initialize (this GRVkExtensions extensions, GRSharpVkGetProcedureAddressDelegate getProc, SharpVk.Instance instance, SharpVk.PhysicalDevice physicalDevice);
public static void Initialize (this GRVkExtensions extensions, GRSharpVkGetProcedureAddressDelegate getProc, SharpVk.Instance instance, SharpVk.PhysicalDevice physicalDevice, string[] instanceExtensions, string[] deviceExtensions);
}
```

Просмотреть файл

@ -0,0 +1,8 @@
# API diff: SkiaSharp.dll
## SkiaSharp.dll
### Namespace SkiaSharp
#### Removed Type SkiaSharp.Resource

Просмотреть файл

@ -2,4 +2,35 @@
## SkiaSharp.dll
> No changes.
### Namespace SkiaSharp
#### Type Changed: SkiaSharp.SKEncodedImageFormat
Added value:
```csharp
Avif = 12,
```
#### Removed Type SkiaSharp.Resource
### Namespace SkiaSharp.Internals
#### New Type: SkiaSharp.Internals.PlatformConfiguration
```csharp
public static class PlatformConfiguration {
// properties
public static bool Is64Bit { get; }
public static bool IsArm { get; }
public static bool IsGlibc { get; }
public static bool IsLinux { get; }
public static bool IsMac { get; }
public static bool IsUnix { get; }
public static bool IsWindows { get; }
public static string LinuxFlavor { get; set; }
}
```

2
docs

@ -1 +1 @@
Subproject commit cf37af79ca9267b572a2327750d7c05731c0aa53
Subproject commit 55b444d6e1df3a0a6865aff2d813192e067bb280