Browse Source

adjust references in scratchpad.fsx and comments.

master
Craig Oates 5 years ago
parent
commit
2806a22346
  1. 26
      DeathSocket/GridPainter.fs
  2. 4
      DeathSocket/ScratchPad.fsx

26
DeathSocket/GridPainter.fs

@ -119,7 +119,9 @@ namespace DeathSocket
/// <param name="width">The width of the image.</param>
/// <param name="height">The height of the image.</param>
/// <param name="rows">The number of rows the grid should have.</param>
/// <remarks>You will probably only need these when dealing with GUI's.</remarks>
/// <remarks>
/// You will probably only need these when dealing with GUI's.
/// </remarks>
let determineHorizontalLines (width: int) (height: int) (rows: int) =
createHorizontalLines width height rows
@ -131,8 +133,12 @@ namespace DeathSocket
/// </summary>
/// <param name="width">The width of the image.</param>
/// <param name="height">The height of the image.</param>
/// <param name="columns">The number of columns the grid should have.</param>
/// <remarks>You will probably only need these when dealing with GUI's.</remarks>
/// <param name="columns">
/// The number of columns the grid should have.
/// </param>
/// <remarks>
/// You will probably only need these when dealing with GUI's.
/// </remarks>
let determineVerticalLines (width: int) (height: int) (columns: int) =
createVerticalLines width height columns
@ -169,7 +175,7 @@ namespace DeathSocket
// ====================================================================
// NOT TESTED
/// <summary>
/// Uses the information included in spec to create a SKData buffer.
/// The buffer will contain a gridded image which you can then use in
@ -215,8 +221,10 @@ namespace DeathSocket
/// <param name="width">The width of the image.</param>
/// <param name="height">The height of the image.</param>
/// <param name="rows">The number of rows the grid should have.</param>
/// <remarks>This function is part of the SkiaSharp functions provided
/// by Death Socket.</remarks>
/// <remarks>
/// This function is part of the SkiaSharp functions provided
/// by Death Socket.
/// </remarks>
let determineSKHorizontalLines (width: int) (height: int) (rows: int) =
createSKHorizontalLines width height rows
@ -230,7 +238,9 @@ namespace DeathSocket
/// <param name="height">The height of the image.</param>
/// <param name="columns">The number of columns the grid should have.
/// </param>
/// <remarks>This function is part of the SkiaSharp functions provided
/// by Death Socket.</remarks>
/// <remarks>
/// This function is part of the SkiaSharp functions provided by Death
/// Socket.
/// </remarks>
let determineSKVerticalLines (width: int) (height: int) (columns: int) =
createSKVerticalLines width height columns

4
DeathSocket/ScratchPad.fsx

@ -1,7 +1,7 @@
// These paths need adjusting to match your computer.
#r @"C:/Users/craig/.nuget/packages/skiasharp/1.68.0/lib/netstandard1.3/SkiaSharp.dll"
#r @"C:/Users/craig/.nuget/packages/skiasharp/1.60.3/lib/netstandard1.3/SkiaSharp.dll"
// Currently not working...
// #r @"C:/Users/craig/.nuget/packages/skiasharp/1.68.0/runtimes/win-x64/native/libSkiaSharp.dll"
//#r @"C:/Users/craig/.nuget/packages/skiasharp/1.60.3/runtimes/win-x64/native/libSkiaSharp.dll"
#load "Domain.fs"
#load "Validation.fs"

Loading…
Cancel
Save