File tree Expand file tree Collapse file tree
Workbench/Wmf/SkiaWmfRenderer/src/SkiaWmfRenderer/Rendering Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using System . Text ;
2+
23using Oxage . Wmf ;
4+
35using SkiaSharp ;
46
57namespace SkiaWmfRenderer . Rendering ;
@@ -17,6 +19,8 @@ class WmfRenderStatus : IDisposable
1719 public SKColor CurrentPenColor { get ; set ; } = SKColors . Empty ;
1820 public float CurrentPenThickness { get ; set ; } = 0 ;
1921
22+ public SKColor CurrentFillColor { get ; set ; } = SKColor . Empty ;
23+
2024 public float CurrentFontSize { get ; set ; }
2125
2226 public string ? CurrentFontName { get ; set ; } = null ;
@@ -70,6 +74,12 @@ public void UpdateSkiaStrokeStatus()
7074 Paint . Style = SKPaintStyle . Stroke ;
7175 }
7276
77+ public void UpdateSkiaFillStatus ( )
78+ {
79+ Paint . Style = SKPaintStyle . Fill ;
80+ Paint . Color = CurrentFillColor ;
81+ }
82+
7383 public void Dispose ( )
7484 {
7585 Paint . Dispose ( ) ;
You can’t perform that action at this time.
0 commit comments