Skip to content

Commit

Permalink
PDFium version v122.0.6205.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DJGosnell committed Dec 27, 2023
1 parent 2e338f9 commit 94588dd
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion download_package.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dotnet build src/PDFiumCoreBindingsGenerator/PDFiumCoreBindingsGenerator.csproj -c Release
dotnet ./src/PDFiumCoreBindingsGenerator/bin/Release/net6.0/PDFiumCoreBindingsGenerator.dll 132471191 false
dotnet ./src/PDFiumCoreBindingsGenerator/bin/Release/net6.0/PDFiumCoreBindingsGenerator.dll 135034211 false
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Version>121.0.6164.0</Version>
<Version>122.0.6205.0</Version>
</PropertyGroup>
</Project>
52 changes: 26 additions & 26 deletions src/PDFiumCore/PDFiumCore.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Built from precompiled binaries at https://github.com/bblanchon/pdfium-binaries/releases/tag/chromium/6164
// Github release api https://api.github.com/repos/bblanchon/pdfium-binaries/releases/132471191
// PDFium version v121.0.6164.0 chromium/6164 [master]
// Built on: Mon, 11 Dec 2023 22:09:01 GMT
// Built from precompiled binaries at https://github.com/bblanchon/pdfium-binaries/releases/tag/chromium/6205
// Github release api https://api.github.com/repos/bblanchon/pdfium-binaries/releases/135034211
// PDFium version v122.0.6205.0 chromium/6205 [master]
// Built on: Wed, 27 Dec 2023 14:06:04 GMT
// ----------------------------------------------------------------------------
// <auto-generated>
// This is autogenerated code by CppSharp.
Expand Down Expand Up @@ -9262,10 +9262,10 @@ public partial struct __Internal
internal static extern void FPDFPageSetRotation(__IntPtr page, int rotate);

[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPage_InsertObject", CallingConvention = __CallingConvention.Cdecl)]
internal static extern void FPDFPageInsertObject(__IntPtr page, __IntPtr page_obj);
internal static extern void FPDFPageInsertObject(__IntPtr page, __IntPtr page_object);

[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPage_RemoveObject", CallingConvention = __CallingConvention.Cdecl)]
internal static extern int FPDFPageRemoveObject(__IntPtr page, __IntPtr page_obj);
internal static extern int FPDFPageRemoveObject(__IntPtr page, __IntPtr page_object);

[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPage_CountObjects", CallingConvention = __CallingConvention.Cdecl)]
internal static extern int FPDFPageCountObjects(__IntPtr page);
Expand All @@ -9280,7 +9280,7 @@ public partial struct __Internal
internal static extern int FPDFPageGenerateContent(__IntPtr page);

[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPageObj_Destroy", CallingConvention = __CallingConvention.Cdecl)]
internal static extern void FPDFPageObjDestroy(__IntPtr page_obj);
internal static extern void FPDFPageObjDestroy(__IntPtr page_object);

[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPageObj_HasTransparency", CallingConvention = __CallingConvention.Cdecl)]
internal static extern int FPDFPageObjHasTransparency(__IntPtr page_object);
Expand All @@ -9295,7 +9295,7 @@ public partial struct __Internal
internal static extern int FPDFPageObjGetMatrix(__IntPtr page_object, __IntPtr matrix);

[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPageObj_SetMatrix", CallingConvention = __CallingConvention.Cdecl)]
internal static extern int FPDFPageObjSetMatrix(__IntPtr path, __IntPtr matrix);
internal static extern int FPDFPageObjSetMatrix(__IntPtr page_object, __IntPtr matrix);

[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPage_TransformAnnots", CallingConvention = __CallingConvention.Cdecl)]
internal static extern void FPDFPageTransformAnnots(__IntPtr page, double a, double b, double c, double d, double e, double f);
Expand Down Expand Up @@ -9667,31 +9667,31 @@ public static void FPDFPageSetRotation(global::PDFiumCore.FpdfPageT page, int ro
}

/// <summary>
/// <para>Insert |page_obj| into |page|.</para>
/// <para>page - handle to a page</para>
/// <para>page_obj - handle to a page object. The |page_obj| will be automatically</para>
/// <para>freed.</para>
/// <para>Insert |page_object| into |page|.</para>
/// <para>page - handle to a page</para>
/// <para>page_object - handle to a page object. The |page_object| will be</para>
/// <para>automatically freed.</para>
/// </summary>
public static void FPDFPageInsertObject(global::PDFiumCore.FpdfPageT page, global::PDFiumCore.FpdfPageobjectT page_obj)
public static void FPDFPageInsertObject(global::PDFiumCore.FpdfPageT page, global::PDFiumCore.FpdfPageobjectT page_object)
{
var __arg0 = page is null ? __IntPtr.Zero : page.__Instance;
var __arg1 = page_obj is null ? __IntPtr.Zero : page_obj.__Instance;
var __arg1 = page_object is null ? __IntPtr.Zero : page_object.__Instance;
__Internal.FPDFPageInsertObject(__arg0, __arg1);
}

/// <summary>
/// <para>Experimental API.</para>
/// <para>Remove |page_obj| from |page|.</para>
/// <para>page - handle to a page</para>
/// <para>page_obj - handle to a page object to be removed.</para>
/// <para>Remove |page_object| from |page|.</para>
/// <para>page - handle to a page</para>
/// <para>page_object - handle to a page object to be removed.</para>
/// <para>Returns TRUE on success.</para>
/// <para>Ownership is transferred to the caller. Call FPDFPageObj_Destroy() to free</para>
/// <para>it.</para>
/// </summary>
public static int FPDFPageRemoveObject(global::PDFiumCore.FpdfPageT page, global::PDFiumCore.FpdfPageobjectT page_obj)
public static int FPDFPageRemoveObject(global::PDFiumCore.FpdfPageT page, global::PDFiumCore.FpdfPageobjectT page_object)
{
var __arg0 = page is null ? __IntPtr.Zero : page.__Instance;
var __arg1 = page_obj is null ? __IntPtr.Zero : page_obj.__Instance;
var __arg1 = page_object is null ? __IntPtr.Zero : page_object.__Instance;
var __ret = __Internal.FPDFPageRemoveObject(__arg0, __arg1);
return __ret;
}
Expand Down Expand Up @@ -9749,16 +9749,16 @@ public static int FPDFPageGenerateContent(global::PDFiumCore.FpdfPageT page)
}

/// <summary>
/// <para>Destroy |page_obj| by releasing its resources. |page_obj| must have been</para>
/// <para>created by FPDFPageObj_CreateNew{Path|Rect}() or</para>
/// <para>Destroy |page_object| by releasing its resources. |page_object| must have</para>
/// <para>been created by FPDFPageObj_CreateNew{Path|Rect}() or</para>
/// <para>FPDFPageObj_New{Text|Image}Obj(). This function must be called on</para>
/// <para>newly-created objects if they are not added to a page through</para>
/// <para>FPDFPage_InsertObject() or to an annotation through FPDFAnnot_AppendObject().</para>
/// <para>page_obj - handle to a page object.</para>
/// <para>page_object - handle to a page object.</para>
/// </summary>
public static void FPDFPageObjDestroy(global::PDFiumCore.FpdfPageobjectT page_obj)
public static void FPDFPageObjDestroy(global::PDFiumCore.FpdfPageobjectT page_object)
{
var __arg0 = page_obj is null ? __IntPtr.Zero : page_obj.__Instance;
var __arg0 = page_object is null ? __IntPtr.Zero : page_object.__Instance;
__Internal.FPDFPageObjDestroy(__arg0);
}

Expand Down Expand Up @@ -9837,9 +9837,9 @@ public static int FPDFPageObjGetMatrix(global::PDFiumCore.FpdfPageobjectT page_o
/// <para>and can be used to scale, rotate, shear and translate the page object.</para>
/// <para>Returns TRUE on success.</para>
/// </summary>
public static int FPDFPageObjSetMatrix(global::PDFiumCore.FpdfPageobjectT path, global::PDFiumCore.FS_MATRIX_ matrix)
public static int FPDFPageObjSetMatrix(global::PDFiumCore.FpdfPageobjectT page_object, global::PDFiumCore.FS_MATRIX_ matrix)
{
var __arg0 = path is null ? __IntPtr.Zero : path.__Instance;
var __arg0 = page_object is null ? __IntPtr.Zero : page_object.__Instance;
var __arg1 = matrix is null ? __IntPtr.Zero : matrix.__Instance;
var __ret = __Internal.FPDFPageObjSetMatrix(__arg0, __arg1);
return __ret;
Expand Down

0 comments on commit 94588dd

Please sign in to comment.