fix cache

add font propertie to rust text paint
layout improvements
This commit is contained in:
2023-05-28 01:10:53 +02:00
parent b671f9ee47
commit 1baa3ae736
18 changed files with 176 additions and 84 deletions

View File

@@ -30,6 +30,7 @@ pub struct Paint {
pub struct TextPaint {
pub style: PaintStyle,
pub align: TextAlign,
pub fontName: String,
pub size: f32,
}