Steven Kirk
7cdaeac441
Make Rect.Deflate consistent with Rect.Inflate.
`Rect.Deflate` was halving the thickness passed into it whereas `Rect.Inflate` wasn't. Make both methods consistent and _not_ halve the thickness.
7 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
e7e57d0e91
Fix text rendering where TextAlignment != Left.
The renderer was using the wrong bounds for text where `TextAlignment != Left` as seen in #1625 . To fix this, change `FormattedTextImpl.Size` to `Bounds`, which returns a rect that takes into account the text alignment and similarly change `FormattedText.Measure` to return a `Rect` instead of a `Size.
Fixes #1625 .
7 years ago
Nikita Tsukanov
6d5d26b36c
Exclude Wrapping_NoWrap from Linux test run
7 years ago
Nikita Tsukanov
ea7dc760cc
Updated SkiaSharp to 1.68.0
7 years ago
Dan Walmsley
53638845a6
Add more visualbrush tests.
7 years ago
Steven Kirk
f1c2c72400
Added failing tests for #1614 .
7 years ago
Jumar Macato
d4b82e5af7
Fix yet another visual test
8 years ago
Jumar Macato
cfa39c9d0d
fix wrongly placed fontfamily parameter
8 years ago
Jumar Macato
0094c4cf87
Fix unit test by specifying the font in the test image.
8 years ago
Steven Kirk
a0e8dca6e9
Use PixelSize for device-dependent sizes.
8 years ago
Steven Kirk
d531b36b96
Make brushes raise a Changed event.
When their visual representation changes.
8 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
Karnah
d8615643dd
Fixed NullReferenceException for ImageBush with null Source
8 years ago
Nelson Carrillo
88bfdf87ea
Skia backend cleanup.
8 years ago
Jeremy Koritzinsky
18f436a2c3
Clean up unused code warnings and malformed doc comments.
8 years ago
Benedikt Schroeder
d5ace4db8d
tests fixed
8 years ago
Steven Kirk
253ff56895
Added a couple of Border CornerRadius render tests.
8 years ago
Benedikt Schroeder
27a666467c
Initial
8 years ago
ahopper
e967a8eb72
rename WritableBitmap
8 years ago
Steven Kirk
6133837600
Locate tests directory in code.
Rather than using a hard-coded path.
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
7a60b790b0
Added failing test for #1341 .
8 years ago
Jeremy Koritzinsky
1c12cd4bd6
Fix x64 builds of Avaloina.Direct2D1. Refactor build scripts to reduce time and fix issues.
8 years ago
Jeremy Koritzinsky
f72577cf92
Clean up test scripts
8 years ago
Jeremy Koritzinsky
eb7c010462
Retarget .Net Framework projects to 4.7
Works around dotnet/standard#567 .
8 years ago
Steven Kirk
04c489daa5
Make Collection Properties get-only
Fixes #1302 .
8 years ago
Nikita Tsukanov
a4c9f1e400
Make ShapeLayoutTests use MockPlatformRenderInterface
9 years ago
sdoroff
7db5ae8db9
Added unit tests
9 years ago
Nikita Tsukanov
3e09457e10
[D2D1] Implement support for IFramebufferPlatformSurface
9 years ago
Nikita Tsukanov
bdbe95b9b1
Fixed DispatcherTimer's priorities
9 years ago
Nikita Tsukanov
3d3d4528f6
Burn, baby, BURN!
9 years ago
Nikita Tsukanov
b963d68668
Try to respect DispatcherPriority when possible
9 years ago
Jurjen Biewenga
e74a1be8e4
Added SVGPath test
9 years ago
Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago
Nikita Tsukanov
7e1f1191c3
Fixed .gitignore for skia tests
9 years ago
Jeremy Koritzinsky
cceb884fe0
Disable failing Cairo tests.
9 years ago
Jeremy Koritzinsky
e09857f98c
Make test script only run netcoreapp tests for Skia.
9 years ago
Jeremy Koritzinsky
1faa352142
Run Skia render tests on .NET Core only since there is no reason full framework would differ
9 years ago
Jeremy Koritzinsky
17e4f26302
Use x64 skia.
9 years ago
Jeremy Koritzinsky
f967a3f439
This should fix the skia render tests (works on my machine).
9 years ago
Nikita Tsukanov
e388a485ce
Fixed build? Maybe? Appveyor, pretty please?
9 years ago
Nikita Tsukanov
29fadec666
Fixed build?
9 years ago
Nikita Tsukanov
7c81f40694
Fixed build?
9 years ago
Nikita Tsukanov
2be9cb5d4b
Build fix?
9 years ago
Nikita Tsukanov
04ec5b3b66
Enforce outputpath
(cherry picked from commit c66847b1c931b2d414b0901aeab6e25e30ee67f9)
9 years ago
Nikita Tsukanov
1d6beab970
Fixed Skia's RenderTargetBitmap and made Skia tests to run for .NET Core
9 years ago
Nikita Tsukanov
e610d5858f
Merge skia projects into one
9 years ago