Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions binding/SkiaSharp.Resources/ResourcesApi.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
using sk_path_rawiterator_t = System.IntPtr;
using sk_path_t = System.IntPtr;
using sk_pathmeasure_t = System.IntPtr;
using sk_pdf_metadata_t = System.IntPtr;
using sk_pdf_structure_element_t = System.IntPtr;
using sk_picture_recorder_t = System.IntPtr;
using sk_picture_t = System.IntPtr;
using sk_pixelref_factory_t = System.IntPtr;
Expand Down
2 changes: 2 additions & 0 deletions binding/SkiaSharp.SceneGraph/SceneGraphApi.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
using sk_path_rawiterator_t = System.IntPtr;
using sk_path_t = System.IntPtr;
using sk_pathmeasure_t = System.IntPtr;
using sk_pdf_metadata_t = System.IntPtr;
using sk_pdf_structure_element_t = System.IntPtr;
using sk_picture_recorder_t = System.IntPtr;
using sk_picture_t = System.IntPtr;
using sk_pixelref_factory_t = System.IntPtr;
Expand Down
2 changes: 2 additions & 0 deletions binding/SkiaSharp.Skottie/SkottieApi.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
using sk_path_rawiterator_t = System.IntPtr;
using sk_path_t = System.IntPtr;
using sk_pathmeasure_t = System.IntPtr;
using sk_pdf_metadata_t = System.IntPtr;
using sk_pdf_structure_element_t = System.IntPtr;
using sk_picture_recorder_t = System.IntPtr;
using sk_picture_t = System.IntPtr;
using sk_pixelref_factory_t = System.IntPtr;
Expand Down
5 changes: 5 additions & 0 deletions binding/SkiaSharp/SKBitmap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -783,5 +783,10 @@ public SKShader ToShader (SKShaderTileMode tmx, SKShaderTileMode tmy, SKFilterQu

private SKShader ToShader (SKShaderTileMode tmx, SKShaderTileMode tmy, SKSamplingOptions sampling, SKMatrix* localMatrix) =>
SKShader.GetObject (SkiaApi.sk_bitmap_make_shader (Handle, tmx, tmy, &sampling, localMatrix));

// ToImage

public SKImage ToImage () =>
SKImage.FromBitmap (this);
}
}
Loading