Added Oval and Path. Currently Path only have move_to and line_to commands.

This commit is contained in:
Creeper Lv
2026-01-11 02:15:55 +11:00
parent b032249942
commit 609e51d375
8 changed files with 225 additions and 5 deletions

View File

@@ -70,8 +70,7 @@ namespace Progrart.Core.Graphics
LoadProperties();
SKPoint FinalStartPos = context.TranslatePoint(Start);
SKPoint FinalEndPos = context.TranslatePoint(End);
Trace.WriteLine($"Draw Line from {FinalStartPos} to {FinalEndPos} using {Color} with size of {Size}.");
context.DrawingCore.canvas.DrawLine(
context.canvas.DrawLine(
FinalStartPos,
FinalEndPos,
new SKPaint()