slint/internal/core/graphics
Olivier Goffart 6ba76d1708 Fix interpolation between gradiants of different size
The loop was skipping one of the stop to interpolate
because when one iterator was returning None, the other
one had also advenced and its result discared.
We can just unwrap the value instead from the longer chain.

For the radial gradiant, we need to interpolate the last
colors to avoid a flash at the beginning for all the area
"outside" the circle.
2022-05-20 09:06:55 +02:00
..
bitmapfont.rs Fix scaling of glyphs and improve type safety in the MCU backend 2022-02-17 15:07:57 +01:00
brush.rs Fix interpolation between gradiants of different size 2022-05-20 09:06:55 +02:00
color.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
image.rs Fix C++ build 2022-03-03 14:39:11 +01:00
path.rs Declare .slint enum in one place in i-slint-common 2022-04-14 19:17:48 +02:00
rendering_metrics_collector.rs Collect statistics about the number of layers created in the GL and Qt renderer 2022-03-24 21:20:28 +01:00