ABI changes

pull/1/head
cosmonaut 2023-12-07 22:54:04 -08:00
parent 0ffacd6aec
commit 82093d2b0d
1 changed files with 4 additions and 3 deletions

View File

@ -103,7 +103,8 @@ namespace WellspringCS
IntPtr fontBytes, IntPtr fontBytes,
uint fontBytesLength, uint fontBytesLength,
IntPtr atlasJsonBytes, IntPtr atlasJsonBytes,
uint atlasJsonBytesLength uint atlasJsonBytesLength,
out float pixelsPerEm
); );
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
@ -118,8 +119,7 @@ namespace WellspringCS
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern byte Wellspring_TextBounds( public static extern byte Wellspring_TextBounds(
IntPtr font, IntPtr font,
float x, int pixelSize,
float y,
HorizontalAlignment horizontalAlignment, HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment, VerticalAlignment verticalAlignment,
IntPtr strBytes, /* UTF-8 bytes */ IntPtr strBytes, /* UTF-8 bytes */
@ -132,6 +132,7 @@ namespace WellspringCS
IntPtr textBatch, IntPtr textBatch,
float x, float x,
float y, float y,
int pixelSize,
float depth, float depth,
in Color color, in Color color,
HorizontalAlignment horizontalAlignment, HorizontalAlignment horizontalAlignment,