Comments (1)
You can get access to Skia's SkCanvas
for a given Avalonia control by using a ICustomDrawOperation
: see Avalonia's Custom Skia Page sample.
You can also leverage Avalonia's geometry support without using Skia directly: use any Shape
-derived control, such as Path
, or override Render
and use the various DrawX
methods to render your geometry.
That said, your use case seems very specific and probably not what Estragonia was made for: if you have no interest in Avalonia's capabilities and only want to use Skia, it might be easier to create a Skia surface directly from a Godot texture (Vulkan image). You can use GodotVkSkiaGpu to get started.
I'm converting this issue to a discussion.
from estragonia.
Related Issues (10)
- CS9077 and CS8350 errors in auto generated godot files HOT 3
- Can you support LibVLCSharp.avalonia or libmpv.avalonia players in godot4? HOT 3
- Estragonia specifically requires Avalonia.Skia v 11.0.5 HOT 2
- Unable to use Estragonia on macOS due to Vulkan dependency HOT 3
- Visual Studio Designer Issue (with workaround) HOT 2
- AMD GPU corrupted rendering HOT 25
- PushRenderOptions error on run HOT 4
- Possible to use Avalonia's StorageProvider to open file picker? HOT 1
- Failure to render UI Controls on Remote Desktop Terminal Sessions (RDP) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from estragonia.