Skip to content
المشاريع

حول

TinyVG software development kit

أدوات التطوير

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

TinyVG Software Development Kit

This SDK enables you to work with the TinyVG vector graphics format.

Contents

  • Native Library (C ABI)
  • Zig Package
  • Command Line Tooling
    • Offline Rendering (TVG -> TGA)
    • Format Conversion (SVG <-> TVG <-> TVGT)

Building

Note: builds with zig 0.14.0, needs dotnet 6 runtime, but builds fine with dotnet 9 sdk!

The SDK is implemented with Zig 0.11.0 and dotnet 6.

To build the SDK (except svg2tvgt), do this:

[user@host sdk]$ zig build
[user@host sdk]$

This will then produce the folders zig-cache (for temporary files) and zig-out, which contains the SDK files for your current platform.

To build svg2tvgt, go into the folder src/tools/svg2tvgt and do this:

[user@host sdk]$ cd src/tools/svg2tvgt/
[user@host svg2tvgt]$ dotnet build
MSBuild version 17.3.2+561848881 for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
  svg2tvgt -> /mnt/src/tools/svg2tvgt/bin/Debug/net6.0/svg2tvgt.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.69
[user@host svg2tvgt]$

This will then produce src/tools/svg2tvgt/bin/Debug/net5.0/svg2tvgt (or .exe if you are on windows).

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…