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