Skip to content

1.6.7

Choose a tag to compare

@rds1983 rds1983 released this 05 Oct 22:42
· 9 commits to master since this release

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

image

Demonstrates the usage of the new brushes along with the custom way of drawing the rounded corners with NvgSharp.

CustomBrushes

image

Demonstrates various ways of creating a custom brush.

FixedSize

image

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.