slint/sixtyfps_runtime/rendering_backends/gl
Simon Hausmann 220dc2ee47 Fix rendering of rounded rectangles in examples preview
For something like

    Window {
        GridLayout {
            Rectangle {
                border_width: 2lx;
                border_radius: 2lx;
                border_color: black;
            }
        }
    }

The border was not fully visible and partly obscured by the window
frame, the canvas element in the case of the preview in the examples.
That looks bad, and this patch fixes it by respecting the border width
in the geometry used to stroke and fill the rectangle.
2020-09-04 14:27:58 +02:00
..
buffers.rs Update license header to mention that commertial option are available 2020-08-26 13:23:42 +02:00
Cargo.toml Update dependencies 2020-08-31 17:38:22 +02:00
glyphcache.rs Improve API of color handling of text 2020-09-02 11:48:41 +02:00
lib.rs Fix rendering of rounded rectangles in examples preview 2020-09-04 14:27:58 +02:00
shader.rs Improve API of color handling of text 2020-09-02 11:48:41 +02:00
texture.rs Update license header to mention that commertial option are available 2020-08-26 13:23:42 +02:00