James Jackson-South
3ed4f3cf73
Prevent duplicate ctr in extensions
6 years ago
James Jackson-South
b6e039bf63
Remove unused properties.
6 years ago
James Jackson-South
058836d0c9
Normalize GraphicsOptions parameter position
6 years ago
James Jackson-South
241c50a79e
Drop Default, use DeepClone + tests
6 years ago
James Jackson-South
4a4379ef80
Simplify options and add clone + tests
6 years ago
James Jackson-South
50b4d6a669
Fix MemoryAllocator access.
6 years ago
James Jackson-South
e59f2206f3
Convert options into classes.
6 years ago
James Jackson-South
d91bda2946
Fix #1044
6 years ago
James Jackson-South
c8a2c079e2
Fix float clamp accessibility.
6 years ago
James Jackson-South
d7b0a322ab
Fix ImageFrame.Configuration
6 years ago
James Jackson-South
effa36a7ee
Fix GraphicsOptions
6 years ago
James Jackson-South
b5957e578e
Fix span access
6 years ago
James Jackson-South
8abc5786b9
Fix color and pixel operations. Touches #967 #1002
6 years ago
Anton Firszov
53bb11a236
expose ParallelExecutionSettings and ParallelHelper, fix MaxDegreeOfParallelism
6 years ago
Anton Firszov
15cc234b96
publish ParallelHelper and RowInterval API-s
6 years ago
James Jackson-South
d62fa6929b
Make processors public, refactor cloning.
6 years ago
James Jackson-South
b49f2ab3e8
Expose visitor through advanced namespace.
6 years ago
Xavier Cho
7e06b63420
Accept points instead of line segments as constructor argument
Note that this is a breaking change.
7 years ago
Turnerj
ad56a756ce
Fix horizontally out-of-bounds error when drawing text
7 years ago
Xavier Cho
b9d6a14af6
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
75209ca205
Remove a redundant check for the paint boundary
7 years ago
Simon Cropp
74a1823d62
remove patternVector in patternBrush
7 years ago
James Jackson-South
c48fa803ae
Update dependencies and submodule
7 years ago
Xavier Cho
da44dcf1f3
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
f24169110e
Update dependencies and submodule
7 years ago
Sergio Pedri
f25c68304d
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
c1ab6b1885
remove patternVector in patternBrush
7 years ago
Simon Cropp
bcbd4726a6
use var where apparent ( #972 )
* use var where apparent
* use var where apparent
* should use Rgb24
7 years ago
Simon Cropp
270a073fc6
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
ba07fc22ba
Add possible fix
7 years ago
Simon Cropp
2c04d6b036
redundant usings ( #960 )
7 years ago
Simon Cropp
aa6d2ab997
fix some spelling ( #957 )
* fix some spelling
* more typos
* more typos
* more typos
* more typos
* more typos
* linearSegment
7 years ago
James Jackson-South
5abca49055
Master cleanup ( #952 )
* Fix gitignore and line endings
* Update README.md
7 years ago
Tanner Gooding
c5b14312b0
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
34781bff3e
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
3589820cd6
re-enable target frameworks
7 years ago
Anton Firszov
85147d26dc
Remove NamedColors<T> usages
7 years ago
Anton Firszov
e96c0e83ae
fix remaining stylecop issues
7 years ago
Anton Firszov
17a4d91b82
clean-up drawing processors
7 years ago
Anton Firszov
0f823b9b4a
non-generic DrawImageProcessor
7 years ago
Anton Firszov
659f8b6231
ImageBrush can apply a source image of a different pixel type than the target
7 years ago
Anton Firszov
e57fe2058a
rename files
7 years ago
Anton Firszov
f5f80ca796
move drawing extensions to a (non-namespace-provider) subfolder
7 years ago
Anton Firszov
a224e88993
tests are passing
7 years ago
Anton Firszov
6672741c45
ImageSharp.Drawing compiles
7 years ago
Anton Firszov
0e2c53e5ed
Pen, Brush & Processors refactored
7 years ago
Anton Firszov
90c0772d96
started the refactor
7 years ago
Anton Firszov
e492b68402
temporarily disable target frameworks
7 years ago
Anton Firszov
706211d144
re-enable all target frameworks
7 years ago
Anton Firszov
43c78abf32
temporarily disable multitargeting
7 years ago