Repository navigation
1.6.7
New Brushes: RoundedCornersSolidBrush and RoundedCornersHollowBrush
They draw rectangles with the rounded corners. There is the new sample demonstrating their work(see below).
Docs: https://myraui.github.io/Myra/docs/images.html#rounded-corners
New Samples
RoundedCorners
Demonstrates the usage of the new brushes along with the custom way of drawing the rounded corners with NvgSharp.
CustomBrushes
Demonstrates various ways of creating a custom brush.
FixedSize
Demonstrates how a fixed size UI - that keeps its proportion on resizing - could be created. Resize the window to see how it works.
It uses SDF to handle the text scaling. And the linear texture filtering to handle the image scaling.