Benedikt Stebner
b94b011c94
[WIP]Fix overhang leading calculation for negative values ( #13672 )
* [macOS] Fix overhand leading calculation
* Adjust TextLineMetrics
* Update expected result
2 years ago
Benedikt Stebner
520d9d631a
Properly handle overhang with RTL FlowDirection ( #13631 )
2 years ago
Benedikt Stebner
da3d4ca5c2
Fix TextLayout.OverhandLeading calculation ( #13287 )
* Fix overhand leading calculation
* Fix test on Mac
* Fix tests
2 years ago
workgroupengineering
1cb271fb37
fix: Xaml Compiler error when code-behind class contains a `DllImport` method ( #12882 )
* fix: Avalonia.Generators not found
if you put SourceGenerators.props in a project with path are like this:"C:\GitHub\Avalonia\sample\mobile\android\ANoteSample\ANoteSample.csproj", the Compiler is not able to found `Avalonia.Generators`
* test: Add test #10046 Xaml Compiler error when code-behind class contains a DllImport method
* fix: Xaml Compiler error when code-behind class contains a DllImport method
* fix: Address Review
* fix: ValidateApiDiff has thrown an exception
2 years ago
Steven Kirk
45e5d25ccf
Implemented Geometry.GetWidenedGeometry.
2 years ago
Benedikt Stebner
0b072f4d0d
Update test files
3 years ago
Benedikt Stebner
f153c626f8
Fix TextLineImpl.GetCharacterHitFromDistance for lines that include a TextEndOfLine run
Fix overhang handling to prevent clipped text for slanted glyphs
Fix TextBox selection issues
3 years ago
Benedikt Stebner
0442c3b337
Introduce advanced render options
3 years ago
Nikita Tsukanov
cf28998a46
Bitmap effects support
3 years ago
Nikita Tsukanov
fc96e2949f
Fixed #10539
3 years ago
Nikita Tsukanov
a9ef92bbeb
Implemented BeginFigure(isFilled: false)
3 years ago
Nikita Tsukanov
ae1fcfed51
Refactored DrawingContext and VisualBrush, added DrawingBrush ( #10419 )
Refactored DrawingContext and VisualBrush, added DrawingBrush
3 years ago
Nikita Tsukanov
95b6343f8f
Respect AdornerLayer.IsClipEnabled
3 years ago
Benedikt Stebner
b0a2ae99e4
Fix default GlyphRun.BaselineOrigin
Add a unit test
3 years ago
Nikita Tsukanov
abf8819947
Implemented pixel format transcoding for Bitmap and WriteableBitmap
3 years ago
Nikita Tsukanov
6bdf0eacc7
Removed legacy renderers
3 years ago
Julien Lebosquain
4144be11fe
Pass GlyphInfo directly to GlyphRun
3 years ago
Simon Cropp
209861d9d4
.
3 years ago
Nikita Tsukanov
5a3d9f1574
Use parent clip rect of the adorned visual
3 years ago
Benedikt Stebner
173f5e1b6e
Update test file
3 years ago
Benedikt Stebner
b295935286
Fix unpositioned GlyphRuns
3 years ago
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