Takoooooo
e2e5a75255
Fix typos in Matrix.cs
4 years ago
kaminova
e446a66d6a
Fix calculation of inverted matrix
4 years ago
Steven Kirk
fb0da85ad3
Merge core libraries. ( #5831 )
* Merge core libraries.
Everything below `Avalonia.Controls` into `Avalonia.Base`.
* Move new files to correct place.
* Removed unused dirs/projects,
* Removed outdated references from theme assemblies.
* Merge unit tests to match new assembly layout.
* Fixup test namespaces.
* Make directory match namespace.
* Move files to match namespace.
* Move files to match namespace.
* Fix up incorrect namespace.
`Avalonia.Visuals.Media.Imaging` -> `Avalonia.Media.Imaging`.
* Fix resource URL.
* Removed outdated dependencies.
* Added missing project reference.
* Update test namespaces.
* Fix merge error.
* Fix merge errors.
* Fix bad merge in WindowsInteropTest.csproj.
* Fix up merge errors in csprojs.
* Remove merged tests from nuke.
* Fix up namespace.
* Fix compile error.
* Fix failing tests.
Now that more unit tests are present in Avalonia.Base.UnitTests, general `AvaloniaObject` properties are getting registered. Ignore those.
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
4 years ago
Wiesław Šoltés
3d567425db
Revert
4 years ago
Wiesław Šoltés
a887a412b3
Remove animator
4 years ago
Jan-Peter Zurek
3e7f190ff9
Add code review changes:
Fix typos.
Simplify code.
Generalize code.
Remove duplications.
Improve performance.
4 years ago
Jan-Peter Zurek
e8f2d3e3f3
Add comments, remove todos, extend example.
4 years ago
Jan-Peter Zurek
9078ca7dc8
Fix Rotate3DTransform for DeferredRenderer.
4 years ago
Jan-Peter Zurek
e6d86fb898
Fix ContainsPerspective method.
4 years ago
Andreas Schauerte
c40410cdb3
Add basic 3d transformation.
5 years ago
Andreas Schauerte
f41a6340f9
Cherry Pick and merge.
5 years ago
Steven Kirk
22a55fed27
Added a lot of nullable annotations to Avalonia.Visuals.
Except types related to text and one method in `DrawingContext` which I'm not sure what to do with.
4 years ago
Dariusz Komosinski
7a44407666
Fix problems caused by missing transform data or invalid order of operations when interpolating matrices.
4 years ago
Wiesław Šoltés
97332822c3
Add MatrixAnimator
5 years ago
Dariusz Komosinski
713d4698ee
Use different Try convention.
5 years ago
Dariusz Komosinski
0e7e861009
Fix TransformToVisual not dealing with non-invertible transforms.
5 years ago
Dariusz Komosinski
da1f3968ef
Parse most of the vector-like types during XAML compilation.
6 years ago
Dariusz Komosinski
6b00d236d7
Use MathUtilities in Matrix code.
6 years ago
Dariusz Komosinski
0f6bf8d9ba
Cleanup and add comments.
6 years ago
Dariusz Komosinski
179fdd21b3
Use epsilon when checking for singular matrices. Add benchmark for decomposing a Matrix. Add more tests for Matrix struct.
6 years ago
Dariusz Komosinski
8c5b22c8cc
Initial CSS like transform support.
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Andrey Kunchev
78b790e6eb
document matrix.parse
6 years ago
Dariusz Komosinski
58af056440
Streamline object.Equals implementation.
7 years ago
Dariusz Komosinski
cb663f98b1
Add missing IEquatable interfaces to structs. Standardize parsing error messages. Fix two instances of boxing in hash code.
7 years ago
José Pedro
7e0ac1b787
Removed duplicate call to GetDeterminant.
7 years ago
ahopper
c5419a3c26
create only one identity matrix
8 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Benedikt Schroeder
4e4c49b1e3
fix comments
8 years ago
Benedikt Schroeder
eb273c0fcb
Inital
8 years ago
Steven Kirk
5491f4818e
Use standard naming for Read methods.
8 years ago
Jumar Macato
fc06fa1e35
Fix skew matrix function's flipped axes + update tests.
8 years ago
Jumar Macato
e9c4c238f1
Added SkewTransform and the corresponding skew function in Matrix class.
8 years ago
Steven Kirk
d55edaa18a
Use readonly structs where possible.
C# 7.2 introduced [readonly structs](https://docs.microsoft.com/en-us/dotnet/csharp/reference-semantics-with-value-types ). Using this construct we can make sure that future modifications to these structs don't make them immutable and C# can generate more efficient code.
9 years ago
Eli Arbel
898e7e4747
Using a tokenizer instead of string split
9 years ago
Eli Arbel
c434cb215a
PR comments
9 years ago
Eli Arbel
8cc6d30696
Matrix.Parse & type converter
9 years ago
Steven Kirk
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
donandren
b26573656a
HasInverse Property property of Matrix
10 years ago
Nikita Tsukanov
3cd3579475
"field can be readonly"
11 years ago
Nikita Tsukanov
21a3554260
Change property getter to expression properties
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
f2170e3ad5
Documentation.
11 years ago
Steven Kirk
aa147f0423
More stylecoping.
11 years ago
Steven Kirk
f0eb17aec6
Added Matrix.ToString.
11 years ago
Steven Kirk
7fe1f7e814
Some work on Paths.
Make paths with Stretch != None correctly fill the Path control's
available size. Added a Path_Tick_Scaled test with a path from
MahApps.Metro to test this.
12 years ago