Benedikt Stebner
27c7a5c724
Fix issues mentioned during review
4 years ago
Benedikt Stebner
b815a22d5a
Port WPF's FormattedText to Avalonia and rework TextPresenter
4 years ago
Benedikt Stebner
1855914717
Introduce HarfBuzz platform implementations for unit tests
4 years ago
Steven Kirk
ba258ffa90
Don't pass null where it shouldn't be.
4 years ago
Benedikt Stebner
2633cf3ba4
Introduce FontManagerOptions ( #7089 )
* Introduce FontManagerOptions
* Add missing comments
4 years ago
Dariusz Komosinski
500fa65b72
Add tests for ellipse hit testing.
4 years ago
Dariusz Komosinski
7a44407666
Fix problems caused by missing transform data or invalid order of operations when interpolating matrices.
4 years ago
Steven Kirk
721547fcb2
Update samples/tests to net6.0.
And no longer target net461 in unit tests as we've not had a test pass in net core and fail in netfx in years, and it bloats our CI time; EXCEPT Avalonia.Markup.Xaml.UnitTests where we're still testing against net4.7 as MSIL generation is runtime-sensitive.
4 years ago
Steven Kirk
f54a75e636
Don't update transformed bounds from static render methods.
Fixes #6899
4 years ago
Steven Kirk
e265bef95b
Added failing test for #6899 .
4 years ago
GMIKE
5407e6293f
spaces
5 years ago
GMIKE
339ddca027
Sharper angle of a LineNode in Tests
5 years ago
GMIKE
ce21eee155
replace target-typed object creation
5 years ago
GMIKE
721e088911
LineNode tests
5 years ago
Benedikt Stebner
68418d7f2a
Add failing test
5 years ago
Steven Kirk
4dbf646a73
Implement CombinedGeometry.
5 years ago
Steven Kirk
89cb076778
Implement GeometryGroup.
5 years ago
Dariusz Komosinski
c598b3883a
Add unit test that verifies ordering.
5 years ago
Steven Kirk
31d9b5b13a
Fix a couple of tests that only fail in debug mode.
Introduced in #6039 due to use of `Debug.Assert`.
5 years ago
mat1jaczyyy
5f4a338c18
ICustomHitTest renderer tests
5 years ago
Benedikt Schroeder
08a72e893c
Increase TextFormatter compatibility with WPF's version
5 years ago
Dan Walmsley
57cbf67879
more missing stubs.
5 years ago
Andrey Ermilkin
bcca8d8616
Scaling Vector is not commutative
5 years ago
Jumar Macato
74a74acf0c
set from float to double
5 years ago
Jumar Macato
4ef47bfdb0
Add TryGetSegment
5 years ago
Jumar Macato
f8596a60ea
add unimplemented stuff on MockRenderInterface.cs
5 years ago
Benedikt Stebner
bd9aaae4c0
Fix Typo
5 years ago
Benedikt Stebner
1371cf5612
Fix LineBreakEnumerator
5 years ago
Dan Walmsley
9eb7a1002f
fix test signing
5 years ago
Dariusz Komosinski
0e7e861009
Fix TransformToVisual not dealing with non-invertible transforms.
5 years ago
Steven Kirk
d99512a785
Make DashStyle.Dashes an AvaloniaList.
So that it can be parsed from XAML and changes can be made.
5 years ago
Jumar Macato
7df1d2ad4d
add test, thanks @donandren ! :D
5 years ago
Giuseppe Lippolis
c98918bc2a
Update tests
6 years ago
Benedikt Schroeder
cde3c7227f
Add a test for GlyphRun.FindGlyphIndex
6 years ago
Benedikt Schroeder
04c781ca14
Make sure GlyphTypefaces are always cached
6 years ago
Dariusz Komosinski
aff78fa662
Add default alpha and pixel formats to render interfaces.
6 years ago
Dariusz Komosinski
77ef0ea144
Fix test.
6 years ago
Dariusz Komosinski
c414e26cf6
Ensure that TryParse won't throw.
6 years ago
Benedikt Schroeder
4e53adb9d4
Fix MeasureText for empty glyph clusters
6 years ago
Benedikt Schroeder
bc9926014f
Fix typeface fallback for embedded fonts
Fix text wrapping for multiple corner cases
6 years ago
Benedikt Schroeder
f211e3c724
Disable generators
Remove vertical tab and form feed
6 years ago
Benedikt Schroeder
f377172947
Introduce line break tests
6 years ago
Benedikt Schroeder
4fe771786e
Update to Unicode 13.0
6 years ago
Benedikt Schroeder
2a181d9acb
Introduce TextRunProperties
6 years ago
Steven Kirk
f14d73f5c9
Disable render layers.
We need a new renderer :/
Fixes #2244
6 years ago
Steven Kirk
d3c3741bec
No longer need to pass root to ExecuteInitialLayoutPass.
6 years ago
Dariusz Komosinski
2b50335727
Increase coverage of transform parsing and fix found issues.
6 years ago
Dariusz Komosinski
4b0e88f0ec
Implement remainder of matrix interpolation fallback test.
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