|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
(* Note on Use of Temp File in Functions which Add A Grid Overlay |
|
|
|
|
=========================================================================== |
|
|
|
|
The temp. file is used in the functions below are there to convert images |
|
|
|
|
with indexed pixels. Instead of listig them all, just assume any function |
|
|
|
|
with indexed pixels. Instead of listing them all, just assume any function |
|
|
|
|
with a "*Spec" type as a parameter will use this "temp" file. *) |
|
|
|
|
|
|
|
|
|
let drawBrushSpecGrid (spec: BrushSpec) = |
|
|
|
@ -68,6 +68,8 @@
|
|
|
|
|
stroke.Style <- SKPaintStyle.Stroke |
|
|
|
|
stroke.StrokeWidth <- float32 3 |
|
|
|
|
stroke.Color <- SKColors.BlueViolet |
|
|
|
|
// Note about generating colours in Skia Sharp. |
|
|
|
|
//stroke.Color <- new SKColor (byte 1000, byte 5111, byte 4225, byte 255) |
|
|
|
|
use imageFill = new SKPaint () |
|
|
|
|
imageFill.Style <- SKPaintStyle.Fill |
|
|
|
|
|
|
|
|
|