mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
![]() If a Rectangle has a border-radius and clipping, we use an FBO to render the children and then use femtovg's stencil clipping. If the Rectangle has a zero width or height, we would end up trying to create a texture with such dimensions, which produces run-time opengl errors. We can detect this situation and avoid it early on. The same might happen for shadows. Fixes #377 |
||
---|---|---|
.. | ||
fonts | ||
Cargo.toml | ||
eventloop.rs | ||
fonts.rs | ||
graphics_window.rs | ||
images.rs | ||
lib.rs | ||
svg.rs |