Benedikt Stebner
71aba01b10
Implement FormattedText.BuildGeometry
4 years ago
Benedikt Stebner
e48c984443
Update tests
4 years ago
Benedikt Stebner
73c06b323e
Skia - Correctly translate current position when multiple glyphs are added to a path
4 years ago
Benedikt Stebner
7a533700d0
Implement GlyphRun.BuildGeometry
4 years ago
Steven Kirk
b2556d62f5
Fix some layout rounding issues.
Fixes for #8092 :
- Always round sizes up, not to the nearest pixel, thereby ensuring that `DesiredSize`s don't get rounded down where possible.
- Apply rounding to `Padding` and `BorderThickness` in measure pass as well as arrange pass, to ensure that `DesiredSize` takes this rounding into account.
4 years ago
Benedikt Stebner
bdadb6a351
Fix GetTextBounds for mixed runs
4 years ago
Benedikt Stebner
1db3296611
Fix TextBlock/TextPresenter measure/arrange
Fix TextTrimming for small width
Fix text splitting
Fix text editing shortcuts
4 years ago
Thehx
36d6222c75
Fixed and exposed PreciseArcTo for ellipses with extreme width:height ratios
4 years ago
Steven Kirk
f8eb073dd7
Added missing D2D expected images.
4 years ago
Steven Kirk
ce60f607cf
Added failing tests for #6359 .
4 years ago
Steven Kirk
79f601886e
Added tests for transforms on CombinedGeometry children.
4 years ago
Steven Kirk
6e0a911a3a
Add test for transforms on GeometryGroup children.
4 years ago
Steven Kirk
f66bdefaf6
Simplified GeometryGroup tests,
4 years ago
Steven Kirk
4dbf646a73
Implement CombinedGeometry.
4 years ago
Steven Kirk
89cb076778
Implement GeometryGroup.
4 years ago
Wiesław Šoltés
5b9f06865e
Update expected test files
5 years ago
Steven Kirk
f6fce366cd
Added failing tests for TextLayout when used with a transform.
5 years ago
Steven Kirk
82754cb163
Fixed gradient brush target rectangles.
When drawn via the `DrawingContext` gradient brushes were not taking the origin of the target rect into account, only the size.
Fixes #5947 .
5 years ago
Steven Kirk
7d608a33ee
Implemented ImageDrawing.
5 years ago
Benedikt Schroeder
08a72e893c
Increase TextFormatter compatibility with WPF's version
5 years ago
Andrey Kunchev
21fadbedd6
add tests for text issue:4866
5 years ago
oliver.holliday@lontra.co.uk
8bb8f3c79f
Add Skia support for Conic Gradients. Add a place holder implementation for Direct2D using SolidColorBrushImpl.
5 years ago
oliver.holliday@lontra.co.uk
4f671b606b
Fix stop-offsets being relative to the wrong point after reversal. Copy arrays manually instead of using Linq to resolve PR comment.
5 years ago
oliver.holliday@lontra.co.uk
0d9905c051
Add expected test files
5 years ago
Steven Kirk
ba9e3e7641
Updated expected render test output.
6 years ago
Steven Kirk
bd0b894271
Fix UseLayoutRounding calculations.
Ported `RoundLayoutSize` and `RoundLayoutValue` from WPF and use these to calculated layout rounding.
Fixes #3467 .
6 years ago
Benedikt Schroeder
5824d77d0f
Fix VisualBrush tests
6 years ago
Benedikt Schroeder
4413de463e
Remove unsupported line caps
7 years ago
Dariusz Komosinski
6727bbe3df
Fix Skia rendering hairline width strokes when Pen thickness is 0.
7 years ago
Steven Kirk
41f201bec8
Fix grip visualbrush tests.
7 years ago
Dan Walmsley
53638845a6
Add more visualbrush tests.
7 years ago
Steven Kirk
eecd3555f9
Fix DPI in ImageBrushImpl.
And add expected output for tests. D2D now passes, skia still renders incorrectly.
7 years ago
Steven Kirk
f1c2c72400
Added failing tests for #1614 .
7 years ago
Steven Kirk
d15e86c2a7
Pass correct node bounds to PushOpacityMask. ( #1870 )
* Pass correct node bounds.
Use node bounds not clip bounds for opacity mask rect.
Fixes #1118 .
* Use layout bounds for opacity mask.
And added a new render test to make sure that the render transform is applied to it.
* Fix bad XAML formatting.
8 years ago
Karnah
48dd3b94d1
Using transparent brush when image source is null
8 years ago
Nelson Carrillo
88bfdf87ea
Skia backend cleanup.
8 years ago
Steven Kirk
253ff56895
Added a couple of Border CornerRadius render tests.
8 years ago
ahopper
c06ac12de7
fix d2d render tests
8 years ago
ahopper
c6a7611150
render test fixed
8 years ago
Steven Kirk
589b76e9cd
Moved render tests for each platform to their own directory.
The test .cs files stay in the `Avalonia.RenderTests` directory but the D2D and Skia render test .csprojs are moved to their own directory: include the test files by using a glob in the .csproj.
This avoids the hack we were having to do to get `BaseIntermediateOutputPath` to work - we no longer have this problem as now each .csproj has its own directory, it can use the default directory for intermediate files.
8 years ago
Steven Kirk
062f67cd18
Added expected test output.
8 years ago
Nikita Tsukanov
3e09457e10
[D2D1] Implement support for IFramebufferPlatformSurface
8 years ago
Nikita Tsukanov
3d3d4528f6
Burn, baby, BURN!
8 years ago
Jurjen Biewenga
6fc85456f1
Added expected test results for Cairo and Direct2D
8 years ago
Jurjen Biewenga
e74a1be8e4
Added SVGPath test
8 years ago
Nikita Tsukanov
1d6beab970
Fixed Skia's RenderTargetBitmap and made Skia tests to run for .NET Core
9 years ago
Steven Kirk
7a5e9010a3
Added another passing ImageBrush test.
This tests what I though was a bug in #874 but comparing with WPF, it seems this is correct behavior.
9 years ago
Steven Kirk
730911fc0d
Added a couple more passing tile tests.
9 years ago
Steven Kirk
fb25645aed
Fixed expected skia output.
9 years ago
Steven Kirk
27ec199a3d
Added failing custom render tests.
Deferred rendering does not yet support geometry clipping or opacity masks from `Visual.Render`.
9 years ago