Benedikt Stebner
b815a22d5a
Port WPF's FormattedText to Avalonia and rework TextPresenter
4 years ago
Steven Kirk
ba258ffa90
Don't pass null where it shouldn't be.
4 years ago
Dariusz Komosinski
500fa65b72
Add tests for ellipse hit testing.
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
Dariusz Komosinski
c598b3883a
Add unit test that verifies ordering.
5 years ago
mat1jaczyyy
5f4a338c18
ICustomHitTest renderer tests
5 years ago
Giuseppe Lippolis
c98918bc2a
Update tests
6 years ago
Benedikt Schroeder
4e53adb9d4
Fix MeasureText for empty glyph clusters
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
Dan Walmsley
f270a1eafd
remove pen argument from DrawOperation and BrushDrawOperation
6 years ago
Dan Walmsley
daa69f3ff4
fix draw operation tests.
6 years ago
Dan Walmsley
bc0a763481
add missing scenebuilder test.
6 years ago
Dan Walmsley
67e6de978b
fix scenebuilder test
6 years ago
Dan Walmsley
a8cd4cc2d8
fix failing test.
6 years ago
Nikita Tsukanov
d0b041095d
Inset box-shadow
6 years ago
Nikita Tsukanov
20f6f886f9
box-shadow support
6 years ago
Steven Kirk
4a752c3f48
Get non-animated change information.
- Pass information for all property changes to `OnPropertyChangedCore`; whether they result in an effective value change or not
- Added `GetBaseValue` to get a value with a specified priority
- Change the signature of `OnPropertyChanged` again to take an `AvaloniaPropertyChangedEventArgs<T>`
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
Benedikt Schroeder
de93e8e969
Full Unicode support for TextBlock
6 years ago
Steven Kirk
a8e75384b7
Added IImage interface.
`IImage` represents a base interface for raster and vector images. `IBitmap` now implements this interface and `DrawingContext` accepts this interface in `DrawImage`.
The interface defines a `Draw` method which introduces a level of indirection for drawing the image through the image itself.
Renamed `IDrawingContextImpl.DrawImage` to `DrawBitmap` as this only handles drawing bitmap images. `Bitmap` now calls this method directly on the platform implementation.
6 years ago
macpawluk
b773238c0e
Unit tests covering issues of ImmediateRenderer with transformed children
6 years ago
Benedikt Schroeder
527d8376d7
Combine draw and fill rectangle drawing operation
6 years ago
Dariusz Komosinski
b7a3747da6
Add failing test for https://github.com/AvaloniaUI/Avalonia/issues/3179 .
7 years ago
Steven Kirk
f2c4bf4d6a
Update test to ensure we're looking at the correct node.
7 years ago
Steven Kirk
e6790fe1d1
Add check for correct VisualNode.Parent.
Check that `VisualNode.Parent` is correct when adding a child. Causes a failing test for #3095 .
7 years ago
Steven Kirk
534852af75
Create VisualNode for invisible controls.
If we don't do this, then a `VisualNode` can appear twice in its parent `ChildrenCollection` when an earlier sibling is made invisible.
Fixes #3115
7 years ago
Steven Kirk
f6525de3c8
Added failing test for #3115 .
7 years ago
Steven Kirk
5e9f3067ce
Fix off-by-N error in VisualNode.TrimChildren.
And added unit test.
7 years ago
Steven Kirk
25e0ed5365
Revert "Handle reparenting controls in SceneBuilder."
This reverts commit db8751d711 .
The change was incorrect, it causes #3019 .
7 years ago
Steven Kirk
a600244006
Added failing test for #3019 .
7 years ago
Steven Kirk
db8751d711
Handle reparenting controls in SceneBuilder.
Renamed `VisualNode.SortChildren` -> `UpdateChildren` and make it remove nodes for controls that are no longer children.
7 years ago
Steven Kirk
249e9940da
Added failing tests for #2982 .
Crash in renderer when reparenting a control.
7 years ago
Steven Kirk
cdb486fe23
Fix NRE in VisualNode.SortChildren.
`_children` may be null. In addition if there are < 2 children, there's no sorting to be done.
7 years ago
Steven Kirk
32d7938c7c
Added failing tests for #2714 .
7 years ago
Steven Kirk
20eddbe6c8
Added failing test for #2518
7 years ago
Steven Kirk
a39c804e72
Added failing test for #2381 .
7 years ago
Steven Kirk
028d42c7b2
Add additional failing test for #2053 .
7 years ago
Andrey Kunchev
54627eeff1
add failing unittest for immediaterenderer not rendering sometimes controls issue #2141
7 years ago
Nikita Tsukanov
2be6390683
Fixed tests
7 years ago
Andrey Kunchev
2e43026033
cleanup ImmediateRenderer tests
8 years ago
Andrey Kunchev
5ce71be598
another failing unit test for invalidate on immediate renderer when renderedtransfom is used, issue #1998
8 years ago
Andrey Kunchev
a600fb52ae
unit test for invalidate on immediate renderer when renderedtransfom is used, issue #1998
8 years ago
Steven Kirk
62a5b66228
Fix failing tests.
8 years ago
Jeremy Koritzinsky
f20ebb3ca7
Fix another API mismatch from the API change of IRenderLoopTask that I missed beforehand.
8 years ago
Jeremy Koritzinsky
dcb0d5d090
Fix Raise calls in RenderLoopTests
8 years ago