James Jackson-South
b8306a3bf7
Use single constant definitions.
6 years ago
James Jackson-South
4bdfcbe8cf
Simplify and cleanup build constants
6 years ago
James Jackson-South
d7eeb2f7ca
Allow custom configuration. Fix #650
6 years ago
James Jackson-South
0049ca27c8
Prevent duplicate ctr in extensions
7 years ago
James Jackson-South
86a4cb272a
Remove unused properties.
7 years ago
James Jackson-South
22151ad44a
Normalize GraphicsOptions parameter position
7 years ago
James Jackson-South
2a15aaca16
Drop Default, use DeepClone + tests
7 years ago
James Jackson-South
ebe0ca7bc6
Simplify options and add clone + tests
7 years ago
James Jackson-South
0bdf30674d
Fix MemoryAllocator access.
7 years ago
James Jackson-South
7d028001bf
Convert options into classes.
7 years ago
James Jackson-South
c85e131487
Fix #1044
7 years ago
James Jackson-South
6268dcd75b
Fix float clamp accessibility.
7 years ago
James Jackson-South
516f6df6f5
Fix ImageFrame.Configuration
7 years ago
James Jackson-South
c7a64675b3
Fix GraphicsOptions
7 years ago
James Jackson-South
22cc449d3e
Fix span access
7 years ago
James Jackson-South
096d523a13
Fix color and pixel operations. Touches #967 #1002
7 years ago
Anton Firszov
7c45f467d5
expose ParallelExecutionSettings and ParallelHelper, fix MaxDegreeOfParallelism
7 years ago
Anton Firszov
88de2d9048
publish ParallelHelper and RowInterval API-s
7 years ago
James Jackson-South
1796862302
Make processors public, refactor cloning.
7 years ago
James Jackson-South
f5c9814a00
Expose visitor through advanced namespace.
7 years ago
Xavier Cho
1eea497e74
Accept points instead of line segments as constructor argument
Note that this is a breaking change.
7 years ago
Turnerj
bec033603e
Fix horizontally out-of-bounds error when drawing text
7 years ago
Xavier Cho
6842408316
Ignore invalid gradient positions rather than throwing an error
There can be such cases where it fails to find intersection points for
a given position, especially when the polygon is small.
Such an input would result in an error previously, but now it renders
correctly.
7 years ago
Xavier Cho
1314d001f2
Remove a redundant check for the paint boundary
7 years ago
Simon Cropp
b6fcda1dce
remove patternVector in patternBrush
7 years ago
James Jackson-South
19c7f178d1
Update dependencies and submodule
7 years ago
Xavier Cho
43d8241641
Implement gradient brush similar to PathGradientBrush ( #969 ) ( #989 )
* Implement gradient brush similar to PathGradientBrush (#969 )
A gradient brush implementation that works similar to
System.Drawing.Drawing2D.PathGradientBrush.
This fixes #969 , but only convex paths are supported for now.
* Update submodule to add test fixtures for #989
* Performance optimization
Use LengthSquared() instead of Length() when it's possible.
Avoid unnecessary ordering of elements.
* Avoid using LINQ in a hotspot
* Validate arguments for the public constructor
7 years ago
James Jackson-South
2ba3194151
Update dependencies and submodule
7 years ago
Sergio Pedri
13989ac126
Processors refactoring ( #983 )
* Added new properties to ImageProcessor<TPixel>
* Fixed constructors for convolution processors
* Fixed constructors for binarization processors
* Fixed constructor for dithering processor
* Fixed constructors for effects processors
* Fixed constructor for filter processor
* Fixed constructor for normalization processor
* Fixed constructors for overlay processors
* Fixed constructor for quantization processor
* Fixed constructors for transforms processors
* Updated CreatePixelSpecificProcessor<TPixel> definition
* Fixed convolution processors creation
* Fixed leftover dithering processor constructor
* Fixed another leftover dithering processor constructor
* Fixed dithering processors creation
* Fixed effects processors creation
* Fixed filters processor
* Fixed normalization processors creation
* Fixed overlays processors creation
* Fixed quantizer processor creation
* Fixed constructors for some remaining processors
* Fixed transform processors creation
* ImageProcessor class refactored
* Renamed some parameters
* Convolution processors refactored
* Refactored filters and dithering processors
* Refactored normalization processors
* Overlays processors refactored
* Renamed some parameters
* CloningImageProcessor class refactored
* Transforms processors refactored
* Updated DefaultImageProcessingContext class
* Src builds, tests still require updating.
* Fix tests
* Removed unnecessary local variable
7 years ago
Simon Cropp
91a4ed96a1
remove patternVector in patternBrush
7 years ago
Simon Cropp
564348631f
use var where apparent ( #972 )
* use var where apparent
* use var where apparent
* should use Rgb24
7 years ago
Simon Cropp
6f1134102c
Cleanup ( #965 )
* redundant ()
* redundant stirng interpolation
* use method groups
* redundant unsafe
* redundant qualifiers
* redundant ()
* redundant init
* redundant init
* redundant casts
* redundant casts
7 years ago
Jason Heard
724c26a50d
Add possible fix
7 years ago
Simon Cropp
edeaf7d9a6
redundant usings ( #960 )
7 years ago
Simon Cropp
2734847e2e
fix some spelling ( #957 )
* fix some spelling
* more typos
* more typos
* more typos
* more typos
* more typos
* linearSegment
7 years ago
James Jackson-South
7196b43fb7
Master cleanup ( #952 )
* Fix gitignore and line endings
* Update README.md
7 years ago
Tanner Gooding
e2651e7f45
Updating the repo to use Directory.Build.props/targets files ( #920 )
* Updating the repo to use Directory.Build.props/targets files
* Adding an InternalsVisibleTo for DynamicProxyGenAssembly2, PublicKeyToken=null
* Removing duplicate includes from the ImageSharp.csproj
* Updating the .gitattributes file to explicitly list the line endings
* Removing the ImageSharp.ruleset file, as the one from standards should be used instead
* Updating the package version management to use `PackageReference Update`
7 years ago
Anton Firsov
b00b949141
API cleanup (related to #907 ) ( #911 )
* temporarily disable target frameworks
* drop DelegateProcessor
* drop IImageProcessingContext<TPixel>
* drop NamedColors<T>
* drop ColorBuilder<T>
* drop the *Base postfix for clean class hierarchies
* re-enable target frameworks
* use MathF in gradient brushes
* Move PngFilterMethod to the correct namespace.
7 years ago
Anton Firszov
a36aa55a59
re-enable target frameworks
7 years ago
Anton Firszov
51e23eb7d8
Remove NamedColors<T> usages
7 years ago
Anton Firszov
d2ea0056c4
fix remaining stylecop issues
7 years ago
Anton Firszov
b7dadca8b0
clean-up drawing processors
7 years ago
Anton Firszov
0bd86ddcb6
non-generic DrawImageProcessor
7 years ago
Anton Firszov
efaa3c05ed
ImageBrush can apply a source image of a different pixel type than the target
7 years ago
Anton Firszov
c07bd2fd97
rename files
7 years ago
Anton Firszov
f7df30f58c
move drawing extensions to a (non-namespace-provider) subfolder
7 years ago
Anton Firszov
f0b70b63ef
tests are passing
7 years ago
Anton Firszov
b902e6c99c
ImageSharp.Drawing compiles
7 years ago
Anton Firszov
73f9116a46
Pen, Brush & Processors refactored
7 years ago
Anton Firszov
2bff82367c
started the refactor
7 years ago