Simon Hausmann

Results 709 comments of Simon Hausmann

Great, so today one way of solving this is like this: ```slint export component Chart { property plot-data: [{x:1,y:1}, {x:2,y:2}, {x:3,y:3}, {x:4,y:2}, {x:5,y:1}]; callback render(data: [PlotData]) -> image; Image {...

Perhaps you can make the zoom an parameter of the render function. If the value comes from a property, the render function will also automatically be called if the zoom...

I think it would make sense to expose EasingCurve. However, I think the API needs a few changes: - [ ] The enum needs to be non-exhaustive. - [ ]...

At first glance it looks like we're trying to render immediately after a screen (resolution?) change, or perhaps during a resize of the window. It's odd that make_current() etc all...

I believe that this is how the font designers designed the font. Take a look at letters "H" and "e" in FontForge: The grey lines are the em square and...

Nigel and I discussed this. I propose that we extend the `TextOverflow` enum: ```slint enum TextOverflow { /// The text will simply be clipped. Clip, /// The text will be...

> Thanks for the PR. This is an usefull feature to have. I'm thinking the decoding could be done in the compiler instead. (and stored in EmbeddedData) I agree. This...

I wonder if wrong paths for `@image-url()` could be reported even earlier and not require going through a debug hook. > The next phase would be to show these errors...

Hi @jturcotte . Could you try this branch? https://github.com/slint-ui/slint/tree/simon%2Fwgpu-features