|
|
|
@ -21,7 +21,7 @@
|
|
|
|
|
let graphics = Graphics.FromImage img |
|
|
|
|
let pen = new Pen (spec.colour, width = spec.penWidth) |
|
|
|
|
let horizontalLines = |
|
|
|
|
createHorizontalLines (img.Size.Width) (img.Size.Height) (spec.columns) |
|
|
|
|
createHorizontalLines (img.Size.Width) (img.Size.Height) (spec.rows) |
|
|
|
|
let verticalLines = createVerticalLines (img.Size.Width) (img.Size.Height) (spec.columns) |
|
|
|
|
for line in horizontalLines do graphics.DrawLines (pen, line) |
|
|
|
|
for line in verticalLines do graphics.DrawLines (pen, line) |
|
|
|
|