-
-
Notifications
You must be signed in to change notification settings - Fork 888
Pixel-agnostic Drawing processors and extensions #910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
6741c28
temporarily disable target frameworks
antonfirsov 7e8357c
validating tests for: DrawPath, FillComplexPolygon
antonfirsov cf8005d
validation in DrawImageTest
antonfirsov 5ab0ad2
RecolorImageTests
antonfirsov 52fbbda
FillPolygonTests
antonfirsov 680156a
DrawPolygonTests, DrawLinesTests
antonfirsov 473fd02
DrawBeziersTests, DrawComplexPolygonTests
antonfirsov fd6b229
Merge branch 'af/general-color-type' into af/refactor-drawing
antonfirsov a910005
fix merge issues
antonfirsov 21f221e
DrawImageTests: add tolerance to make all test configurations happy
antonfirsov 2bff823
started the refactor
antonfirsov 73f9116
Pen, Brush & Processors refactored
antonfirsov b902e6c
ImageSharp.Drawing compiles
antonfirsov 8271ef1
everything builds
antonfirsov f0b70b6
tests are passing
antonfirsov 0eff9bc
Merge branch 'af/general-color-type' into af/refactor-drawing
antonfirsov f7df30f
move drawing extensions to a (non-namespace-provider) subfolder
antonfirsov c07bd2f
rename files
antonfirsov efaa3c0
ImageBrush can apply a source image of a different pixel type than th…
antonfirsov 0bd86dd
non-generic DrawImageProcessor
antonfirsov 3b7a741
DrawImageOfDifferentPixelType test cases
antonfirsov b7dadca
clean-up drawing processors
antonfirsov d2ea005
fix remaining stylecop issues
antonfirsov c2e955c
Rgba32.Definitions: use Color instead of NamedColors<T>
antonfirsov 51e23eb
Remove NamedColors<T> usages
antonfirsov 17f2311
drop unnecessary generic IImageProcessorContext<TPixel> usages
antonfirsov 7e57fce
drop almost all usages of FileTestBase
antonfirsov 3af895b
fix tests
antonfirsov a36aa55
re-enable target frameworks
antonfirsov 0395300
Merge remote-tracking branch 'origin/master' into af/refactor-drawing
antonfirsov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| <wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
| <s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=processing_005Cextensions/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love that we can now use readonly structs here.