Skip to content
Draft
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: 1 addition & 1 deletion ArgonUI.Backends.Headless/ArgonUI.Backends.Headless.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<Title>ArgonUI Headless Backend</Title>
<Version>0.1.2-pre</Version>
<Version>0.2.1-pre</Version>
<Authors>Thomas Mathieson</Authors>
<Copyright>Copyright © Thomas Mathieson 2025</Copyright>
<PackageProjectUrl>https://github.com/space928/ArgonUI</PackageProjectUrl>
Expand Down
28 changes: 24 additions & 4 deletions ArgonUI.Backends.Headless/HeadlessDrawContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,42 @@ public void DrawGradient(Bounds2D bounds, Vector4 colourA, Vector4 colourB, Vect

}

public void DrawRect(Bounds2D bounds, Vector4 colour, float rounding)
public void DrawLine(Vector2 start, Vector2 end, Vector4 colourStart, Vector4 colourEnd, float thickness)
{

}

public void DrawShadow(Bounds2D bounds, Vector4 colour, float rounding, float blur)
public void DrawOutlineGradient(Bounds2D bounds, Vector4 colourA, Vector4 colourB, Vector4 colourC, Vector4 colourD, float outlineThickness, float rounding)
{

}

public void DrawOutlineRect(Bounds2D bounds, Vector4 colour, float outlineThickness, float rounding)
{

}

public void DrawPolyFill(IEnumerable<IDrawContext.PolyVert> points)
{

}

public void DrawText(Bounds2D bounds, float size, string s, BMFont font, Vector4 colour)
public void DrawPolyLine(IEnumerable<IDrawContext.PolyVert> points, float thickness)
{

}

public void DrawRect(Bounds2D bounds, Vector4 colour, float rounding)
{

}

public void DrawShadow(Bounds2D bounds, Vector4 colour, float rounding, float blur)
{

}

public void DrawText(Bounds2D bounds, float size, string s, BMFont font, Vector4 colour, float wordSpacing = 0, float charSpacing = 0, float skew = 0, float weight = 0.5F, float width = 1)
public void DrawText(Bounds2D bounds, ReadOnlySpan<char> s, BMFont font, float size, Vector4 colour, float wordSpacing = 0, float charSpacing = 0, float skew = 0, float weight = 0.5F, float width = 1)
{

}
Expand Down
2 changes: 1 addition & 1 deletion ArgonUI.Backends.OpenGL/ArgonUI.Backends.OpenGL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<Title>ArgonUI OpenGL Backend</Title>
<Version>0.3.1-pre</Version>
<Version>0.4.1-pre</Version>
<Authors>Thomas Mathieson</Authors>
<Copyright>Copyright © Thomas Mathieson 2025</Copyright>
<PackageProjectUrl>https://github.com/space928/ArgonUI</PackageProjectUrl>
Expand Down
Loading
Loading