mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-10 18:14:36 +01:00
Add ImAnim bindings
This commit is contained in:
parent
e8485dee25
commit
2b5e2893c5
43 changed files with 4852 additions and 3 deletions
21
imgui/Dalamud.Bindings.ImAnim/Structs/ImAnimTextPathOpts.cs
Normal file
21
imgui/Dalamud.Bindings.ImAnim/Structs/ImAnimTextPathOpts.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using System.Numerics;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using Dalamud.Bindings.ImGui;
|
||||
|
||||
namespace Dalamud.Bindings.ImAnim;
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct ImAnimTextPathOpts
|
||||
{
|
||||
public Vector2 Origin;
|
||||
public float Offset;
|
||||
public float LetterSpacing;
|
||||
public ImAnimTextPathAlign Align;
|
||||
public bool FlipY;
|
||||
public uint Color;
|
||||
public ImFontPtr Font;
|
||||
public float FontScale;
|
||||
|
||||
public static ImAnimTextPathOpts Default() => new() { Color = 0xFFFFFFFF, FontScale = 1.0f };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue