1 write to FontFont
Microsoft.Maui.Graphics.Skia (1)
SkiaCanvasStateService.cs (1)
22
FontFont
= _defaultFontFont.CreateCopy(),
11 references to FontFont
Microsoft.Maui.Graphics.Skia (11)
SkiaCanvas.cs (8)
627
_canvas.DrawText(value, x, y, CurrentState.
FontFont
, CurrentState.FontPaint);
631
var font = CurrentState.
FontFont
;
634
_canvas.DrawText(value, x, y, CurrentState.
FontFont
, CurrentState.FontPaint);
638
var font = CurrentState.
FontFont
;
641
_canvas.DrawText(value, x, y, CurrentState.
FontFont
, CurrentState.FontPaint);
663
FontSize = CurrentState.
FontFont
.Size,
679
_canvas.DrawText(text, point.X, point.Y, align, CurrentState.
FontFont
, CurrentState.FontPaint);
682
using var textLayout = new SkiaTextLayout(value, rect, attributes, DrawLineCallback, textFlow, CurrentState.
FontFont
);
SkiaCanvasState.cs (3)
43
_fontFont = prototype.
FontFont
.CreateCopy();
207
FontFont
.Size = _fontSize * _scaleX;
460
FontFont
.Size = _fontSize * _scaleX;