From 74328280d43477fd9df9697a238e0f4fcd45515c Mon Sep 17 00:00:00 2001 From: "OPTIMUS-PRIME\\craig" Date: Tue, 13 Nov 2018 02:04:14 +0000 Subject: [PATCH] add and fix comments -- note on making colours in Skia Sharp. --- DeathSocket/ImageServices.fs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DeathSocket/ImageServices.fs b/DeathSocket/ImageServices.fs index ba0d0cb..8c0c490 100644 --- a/DeathSocket/ImageServices.fs +++ b/DeathSocket/ImageServices.fs @@ -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