Skip to content
项目

关于

TinyVG software development kit

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

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).

探索相关项目

加载中…