Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for more advanced PDF metadata #2865

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
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