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
|
4 years ago |
Nikita Tsukanov
|
cf28998a46
|
Bitmap effects support
|
4 years ago |
Nikita Tsukanov
|
fc96e2949f
|
Fixed #10539
|
4 years ago |
Nikita Tsukanov
|
530f176783
|
Added Rgb24 and Bgr24
|
4 years ago |
Giuseppe Lippolis
|
3f306b48ab
|
fix(DrawingContext): CS0618 PushPreTransform(Matrix)' is obsolete: 'Use PushTransform'
```bash
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\ConicGradientBrushTests.cs 203 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\LinearGradientBrushTests.cs 98 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\RadialGradientBrushTests.cs 188 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Media\TextFormatting\TextLayoutTests.cs 315 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Skia.UnitTests .\tests\Avalonia.Skia.UnitTests\Media\TextFormatting\TextFormatterTests.cs 795 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 136 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 140 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 144 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' ControlCatalog (netstandard2.0) .\samples\ControlCatalog\Pages\CustomDrawingExampleControl.cs 146 Active
Warning CS0618 'DrawingContext.PushPostTransform(Matrix)' is obsolete: 'Use PushTransform' RenderDemo .\samples\RenderDemo\Pages\RenderTargetBitmapPage.cs 32 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Base (net6.0), Avalonia.Base (netstandard2.0) .\src\Avalonia.Base\Media\DrawingGroup.cs 76 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Controls\CustomRenderTests.cs 91 Active
Warning CS0618 'DrawingContext.PushPreTransform(Matrix)' is obsolete: 'Use PushTransform' Avalonia.Direct2D1.RenderTests, Avalonia.Skia.RenderTests .\tests\Avalonia.RenderTests\Controls\CustomRenderTests.cs 115 Active
```
|
4 years ago |
Benedikt Stebner
|
48a54d67d3
|
Use test font family for TextLayoutTests
|
4 years ago |
Nikita Tsukanov
|
ae1fcfed51
|
Refactored DrawingContext and VisualBrush, added DrawingBrush (#10419)
Refactored DrawingContext and VisualBrush, added DrawingBrush
|
4 years ago |
Benedikt Stebner
|
f5caa61051
|
[SKIA] UseOpacitySaveLayer feature switch (#9964)
* [SKIA] Introduce UseOpacitySaveLayer feature switch
* Only maintain _currentOpacity when OpacitySaveLayer is disabled
|
4 years ago |
Nikita Tsukanov
|
a0adee3d00
|
Added a ctor for populating WriteableBitmap with initial data
|
4 years ago |
Nikita Tsukanov
|
abf8819947
|
Implemented pixel format transcoding for Bitmap and WriteableBitmap
|
4 years ago |
Julien Lebosquain
|
4144be11fe
|
Pass GlyphInfo directly to GlyphRun
|
4 years ago |
Simon Cropp
|
dba476c11c
|
fix more typos
|
4 years ago |
Nikita Tsukanov
|
eaf2ce38a4
|
Context management
|
4 years ago |
Benedikt
|
73a892f13e
|
Only run tests on Windows
|
4 years ago |
Benedikt Stebner
|
b295935286
|
Fix unpositioned GlyphRuns
|
4 years ago |
Benedikt Stebner
|
b4e5ad0435
|
Add failing tests
|
4 years ago |
Giuseppe Lippolis
|
de4b55f8ee
|
feat(tests): Address rule CA1822
|
4 years ago |
Takoooooo
|
825fcfab31
|
Remove obsolete members from Avalonia.Base namespace
|
4 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 |
Patrick Tellier
|
e47b742d3e
|
Use own Pen (if set) in GeometryDrawing.GetBounds
|
4 years ago |
Benedikt Stebner
|
a34e0f50e2
|
Bump
|
5 years ago |
Benedikt Stebner
|
1db3296611
|
Fix TextBlock/TextPresenter measure/arrange
Fix TextTrimming for small width
Fix text splitting
Fix text editing shortcuts
|
5 years ago |
Benedikt Stebner
|
b815a22d5a
|
Port WPF's FormattedText to Avalonia and rework TextPresenter
|
5 years ago |
Thehx
|
36d6222c75
|
Fixed and exposed PreciseArcTo for ellipses with extreme width:height ratios
|
5 years ago |
Steven Kirk
|
79f601886e
|
Added tests for transforms on CombinedGeometry children.
|
5 years ago |
Steven Kirk
|
6e0a911a3a
|
Add test for transforms on GeometryGroup children.
|
5 years ago |
Steven Kirk
|
f66bdefaf6
|
Simplified GeometryGroup tests,
|
5 years ago |
Steven Kirk
|
4dbf646a73
|
Implement CombinedGeometry.
|
5 years ago |
Steven Kirk
|
89cb076778
|
Implement GeometryGroup.
|
5 years ago |
Steven Kirk
|
2a09574ba7
|
Revert "Fixed gradient brush target rectangles."
Reverts #6066. Keeps the render tests to demonstrate that the WPF behavior can be reproduced by pushing a translation.
|
5 years ago |
Steven Kirk
|
9718a77fa9
|
Skip TextLayout render tests on OSX.
They were failing due to slightly different text rendering on that platform.
|
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
|
6 years ago |
Giuseppe Lippolis
|
c98918bc2a
|
Update tests
|
6 years ago |
oliver.holliday@lontra.co.uk
|
8bb8f3c79f
|
Add Skia support for Conic Gradients. Add a place holder implementation for Direct2D using SolidColorBrushImpl.
|
6 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.
|
6 years ago |
oliver.holliday@lontra.co.uk
|
38a6ea99ac
|
Add new tests for RadialGradient with GradientOffset handling. Fix implementation of Skia renderer to match Direct2d version.
|
6 years ago |
Benedikt Schroeder
|
04c781ca14
|
Make sure GlyphTypefaces are always cached
|
6 years ago |
Dariusz Komosinski
|
77ef0ea144
|
Fix test.
|
6 years ago |
Benedikt Schroeder
|
bc9926014f
|
Fix typeface fallback for embedded fonts
Fix text wrapping for multiple corner cases
|
6 years ago |
Benedikt Schroeder
|
5824d77d0f
|
Fix VisualBrush tests
|
6 years ago |
Steven Kirk
|
5397efc4f0
|
Remove some left-over copyright headers.
|
7 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.
|
7 years ago |
Benedikt Schroeder
|
de93e8e969
|
Full Unicode support for TextBlock
|
7 years ago |