Added find and load bitmap feature in PrimitiveDrawingCore.

Added a PixImage element.
This commit is contained in:
Creeper Lv
2026-01-16 20:14:18 +11:00
parent dce1ff2518
commit 94f557d311
5 changed files with 177 additions and 1 deletions

View File

@@ -14,6 +14,10 @@ namespace Progrart.Core
{
this.DrawingCore = core;
}
public SKBitmap? GetBitmap(string sourceFile)
{
return DrawingCore.GetBitmap(sourceFile);
}
public SKTypeface? GetFont(string fontName)
{
return DrawingCore.GetFont(fontName);