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
Dariusz Komosinski
9c4bcbdea9
Add more coverage for TryParse
6 years ago
Dariusz Komosinski
9391ddbab5
Add failing tests for shorthand color parsing.
6 years ago
Dan Walmsley
cbda0e9d95
fix nits.
6 years ago
Dan Walmsley
fe01544a4c
Add a Rect.Normalize method with tests.
6 years ago
Steven Kirk
313f334d1c
Added failing PixelRect snapping tests.
6 years ago
Benedikt Schroeder
6b8f867006
Initialize the GlyphRun on render
6 years ago
Dan Walmsley
f270a1eafd
remove pen argument from DrawOperation and BrushDrawOperation
6 years ago
Dan Walmsley
ab9556257c
fix test interfaces
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
Benedikt Schroeder
0b1b3914b3
More text rendering improvements
6 years ago
Steven Kirk
9adbe33577
Added failing test for #2755 .
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
Steven Kirk
30e8cac05d
Update to .NET core 3.1.
6 years ago
Benedikt Schroeder
de93e8e969
Full Unicode support for TextBlock
6 years ago
Andrey Kunchev
05672c67f7
revert Geometry.Parse to call StreamGeometry.Parse
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
Andrey Kunchev
599e36860a
add failing tests for PathGeometry.ToString()
6 years ago
Andrey Kunchev
fc0ce75e4a
add failing test for Geometry Parse -> it should be expected result be PathGeometry (as in WPF)
6 years ago
Steven Kirk
3a914c282b
Don't declare property fields AvaloniaProperty<>.
Instead use `StyledProperty<>`.
6 years ago
macpawluk
b773238c0e
Unit tests covering issues of ImmediateRenderer with transformed children
6 years ago
Benedikt Schroeder
7901f6f09f
Fix some comments and GlyphRun.GetDistanceFromCharacterHit
6 years ago
Benedikt Schroeder
ab5e062deb
Add GlyphRun support
6 years ago
Benedikt Schroeder
e704823ced
Introduce a struct enumerator implementation for ReadOnlyList that can be reused
6 years ago
Benedikt Schroeder
1b0221e224
Reworked the font manager to better manage resoures and also work properly with the application lifetime
6 years ago
Benedikt Schroeder
527d8376d7
Combine draw and fill rectangle drawing operation
6 years ago
Dariusz Komosinski
b1ec049054
Simplify lowest common ancestor code.
6 years ago
Dariusz Komosinski
6be21fb36c
Add more unit tests.
6 years ago
Dariusz Komosinski
7a13d819fd
Optimize and add new efficient visual tree extensions.
6 years ago
Benedikt Schroeder
46d3a91652
Add missing mocks
6 years ago
Benedikt Schroeder
83bfb8ec70
Initial implementation of a font manager
6 years ago
Dariusz Komosinski
b7a3747da6
Add failing test for https://github.com/AvaloniaUI/Avalonia/issues/3179 .
6 years ago