https://github.com/vandercat/yogasharp
C# Bindings for Facebook's Yoga layout engine
https://github.com/vandercat/yogasharp
Last synced: 6 months ago
JSON representation
C# Bindings for Facebook's Yoga layout engine
- Host: GitHub
- URL: https://github.com/vandercat/yogasharp
- Owner: VanderCat
- License: mit
- Created: 2024-01-21T14:49:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-14T14:25:21.000Z (about 1 year ago)
- Last Synced: 2025-03-25T00:24:23.401Z (10 months ago)
- Language: C#
- Homepage:
- Size: 69.3 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# YogaSharp
A facebook/yoga layout engine bindings for C# programming language
Yoga.Interop bindings are generated using ClangSharp
## Generating Yoga.Interop
install ClangSharpPInvokeGenerator and then run `generation.ps1`/`generaion.sh`
```shell
dotnet tool install --global ClangSharpPInvokeGenerator
```
## Building notes
you need to compile a (lib)yoga.dll/.so and place it in YogaCpp/build/ (or you can just build it rn)
```shell
cmake . -B YogaCpp/build -G Ninja
cd YogaCpp/build
ninja
```