dotnet-ad / skiasharp.components Goto Github PK
View Code? Open in Web Editor NEWRendered components for an easier declaration of SkiaSharp rendering.
License: MIT License
Rendered components for an easier declaration of SkiaSharp rendering.
License: MIT License
Hi.. this looks great, but I'm struggling with Yoga; initializer fails on run, on win10, vs2017. The samples build uses this as the base for all the parsing/building, I think. Is there any chance the Flex thing could be split out into a different project? Currently I'm commenting it out to have a runnable sample.. just a thought. Keep up the good work.
I downloaded the repository, the samples project fails to build on a missing SkiaSharp.Components.Markup.Build project
When building that project directly it fails in SkmlTask.cs:43, "Layout does not contain a definition for content". The layout that VS thinks that is referring to indeed does not have a content property (it does have a path property that does not throw an error).
I know this project hasn't seen much love lately... I'm hoping its not totally dead. I have a need to generate images in a templated type way, and have found nothing better yet, to simply take a SKCanvas, and start laying out elements on it.
I took the basic example of the grid, with the title/image/icon/etc, and put it within a padding element with a margin of 20. Everything including regular labels render exactly as expected, but rendering the label with multiple spans, seems to ignore the padding, and appears left 0, and 20px above where I'd expect.
Debugging, I see output that shows the grid cell tries to render [Label:] Layout in {Left=0,Top=100,Width=460,Height=200}
(with no compensation for the padding).
Just hoping someone sees this, and has an idea of what might be causing it.
Hi,
I notice in the latest Nuget release (0.7.2), the Image class is missing and the ImageBrush constructor still requires a stream function.
So I am unable to follow your example and display an image.
Does nuget need updating?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.