Craig Oates
6d771412b3
downgraded SkiaSharp to 1.60.3 (bug in 1.68).
5 years ago
Craig Oates
d2c0a3bb16
leave comments about failing tests (since Skia upgrade).
5 years ago
Craig Oates
c6b32fcac2
add unit tests for scaleLineThickness function.
5 years ago
Craig Oates
f06451572f
update NuGets and add initial code for 0.7 features.
5 years ago
Craig Oates
0e381f824c
add SkiaSharp versions of the System.Drawing functionality.
...
None of the SkiaSharp code has tests in Test Centre.
6 years ago
Craig Oates
9ddf04964f
add function to create SKColor using int's.
6 years ago
Craig Oates
74328280d4
add and fix comments -- note on making colours in Skia Sharp.
6 years ago
Craig Oates
bcaf1c1e2e
refactor creating file stream in drawSkiaGrid function.
6 years ago
Craig Oates
6baa799ee8
add hardcoded but working code for skia sharp.
...
Image is taken from desktop (hard coded) and a grid is added to it and saved back to desktop with new name (all hard coded).
This will not work on machines which are not the original one this code was written on.
6 years ago
Craig Oates
ee713b76c0
start add code for skia sharp drawing.
6 years ago
Craig Oates
ee2911e071
update comments an remove obsolete functions.
6 years ago
Craig Oates
d6740c012e
remove function using ImageSpec.
6 years ago
Craig Oates
b6662fc0ea
add test which checks the applyRGBAGrid function.
6 years ago
Craig Oates
c58b8f0df4
rename colour service functions and begin writing RGBa convertion test.
6 years ago
Craig Oates
bd89dd7a8a
add SavingTestArea unit test and script to fix it if its fails.
6 years ago
Craig Oates
23e3408b06
refactor ImageSpec to BrushSpec.
...
Comment-out code which uses the ImageSpec and mark code as obsolete when still active.
6 years ago
Craig Oates
c89dab50dd
add initial bits of code for expanding the amount of spec's.
...
Begin adding code to use the new specifications.
6 years ago
Craig Oates
6e8ccd4769
add validation for the intended save file type.
...
Make "drawing" commands async.
Minor spelling changes (comments).
6 years ago
Craig Oates
56acaba83b
update the drawGrid function to work with images with indexed pixels.
...
The change, also, stop images with no indexed pixels from being cropped.
6 years ago
Craig Oates
e1493a4689
add return type in build default spec function (CLI).
...
Set applyGrid function to not build a new Bitmap (like previous commits) in preparation of a new (temp.) test branch.
6 years ago
Craig Oates
e77baa242d
remove allSystemBrushes from Grid Painter.
...
Update drawGrid to use "use" statements and remove the manual Dispose calls. Make minor spelling/editing chanes (in comments).
6 years ago
Craig Oates
2e2fc0d4c8
update drawGrid to save images with indexed pixels.
6 years ago
Craig Oates
08af0d1e0d
create wrappers for creating horizontal and vertical line functions.
...
Rename the ListAllColours to allSystemBrushes.
6 years ago
Craig Oates
d05e830151
change the column count variable to row count in createHorizontalLines.
...
Apply the applyGrid (async) name change to the CLI and Test Centre.
6 years ago
Craig Oates
0e8224839c
change how the horizontal and vertical lines are calculated.
6 years ago
Craig Oates
ed77e0c118
remove save to stream code in library.
...
Fix grammar error in validation.
6 years ago
Craig Oates
980d9d7ea7
make public function in library asynchronous.
...
Adds initial workings of a function to save image to stream in library.
6 years ago
Craig Oates
2b432c09ae
make minor changes to variable names in library.
...
Change the exeption code for file validation in library.
6 years ago
Craig Oates
1f27d76d1f
add draw lines and save new image functionality.
...
Add testing code to scratchpad and update the ImageSpec.
6 years ago
Craig Oates
e1b10a320c
add functions to create vertical and horizontal pen points.
...
Include a 1000x1000 image (for testing) and cratch pad scripts for the horizontal and vertical points code, in library.
6 years ago