Steven Kirk
ad0a813304
Nullability tweaks in lower-level libraries.
4 years ago
Dan Walmsley
9be730d69d
butter smooth resizing.
4 years ago
ingen084
3908e4d71d
Fix text wrapping behavior ( #7397 )
* Allow one-character runs line breaks
* Remove unuseful ignored nullable
* Prevent redundant allocations
* Fix empty line handling
* Update TextFormatterImpl.cs
Co-authored-by: Benedikt Stebner <b.stebner@outlook.de>
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
4 years ago
Thehx
36d6222c75
Fixed and exposed PreciseArcTo for ellipses with extreme width:height ratios
4 years ago
Nikita Tsukanov
7e45ee1e53
Subscribe to DashStyle too
4 years ago
Nikita Tsukanov
dfd0523e36
Optimize Pen's subscriptions to IAffects render
4 years ago
Steven Kirk
a175fbbe3a
Check for null visual parent. ( #7298 )
It shouldn't be possible to come across a null visual parent here because the visual should be attached to the visual tree, but according to #6930 , it is. Because we don't have a repro here, defensively return a null value instead of throwing if we hit this case.
4 years ago
Takoooooo
21cc80932a
use IPlatformSettings instead of creating a separate interface.
4 years ago
Takoooooo
bf731fdcfc
add comments
4 years ago
Takoooooo
00a286f0e8
Add separate platform settings for touch.
4 years ago
Nikita Tsukanov
9e5050cab9
Fixed some of Rider's complaints
4 years ago
Giuseppe Lippolis
2ac4eafdcf
fixes: WarningsAsErrors in Visual Studio
4 years ago
Steven Kirk
ffac3eb027
Added nullable annotations to Avalonia.Animation.
4 years ago
Steven Kirk
a0c10cd6bf
Use GetRequiredService throughout.
4 years ago
Steven Kirk
328199b2d2
Added nullable annotations to Avalonia.Styling.
4 years ago
Steven Kirk
f092724fd8
Fixed another mistake made when adding nullable annotations.
4 years ago
Steven Kirk
7983a496e3
Fix mistakes made when adding nullable annotations.
I shouldn't be doing this stuff when I'm tired.
4 years ago
Steven Kirk
1bacdc4b6e
Added nullable annotations for DrawEllipse.
4 years ago
Steven Kirk
1524274a3b
Add a hacky exception for existing potential problem.
This isn't good, but I don't want to change that as part of adding nullable annotations.
4 years ago
Benedikt Stebner
42f552d803
Nullability for text related types
4 years ago
Steven Kirk
22a55fed27
Added a lot of nullable annotations to Avalonia.Visuals.
Except types related to text and one method in `DrawingContext` which I'm not sure what to do with.
4 years ago
Steven Kirk
76667dbd0d
Finished adding nullable annotations to Avalonia.Base.
4 years ago
Benedikt Stebner
2633cf3ba4
Introduce FontManagerOptions ( #7089 )
* Introduce FontManagerOptions
* Add missing comments
4 years ago
Dariusz Komosinski
500fa65b72
Add tests for ellipse hit testing.
4 years ago
Dariusz Komosinski
7172b921a2
Update API baseline.
4 years ago
Dariusz Komosinski
b0317f46a5
Add support for drawing ellipses directly via DrawingContext
4 years ago
Steven Kirk
691f93a1ed
Multi-target net6.0.
4 years ago
Dariusz Komosinski
7a44407666
Fix problems caused by missing transform data or invalid order of operations when interpolating matrices.
4 years ago
Steven Kirk
f54a75e636
Don't update transformed bounds from static render methods.
Fixes #6899
5 years ago
Takoooooo
1e855bd738
cleanup
5 years ago
Steven Kirk
572eb355e4
Store transform with clip nodes.
Clip and geometry clip nodes were not being correctly applied with the current canvas transform from the time of their rendering. Make the nodes store the current canvas transform like the other drawing nodes.
Fixes #6359 .
5 years ago
GMIKE
0a0bba8de4
Check transform invert and bounds test for LineNode hitTest
5 years ago
GMIKE
22ff7af2ae
replace Math.Pow(x, 2) on x*x
5 years ago
GMIKE
ee84eae5cf
Spaces
5 years ago
GMIKE
fd34b52bba
LineNode hit test
5 years ago
Takoooooo
2d14a049d7
add ctor to DrawingImage which accepts Drawing
5 years ago
Benedikt Stebner
4077e69dda
Prevent the renderer from crashing when a VisualBrush is used as a OpacityMask
5 years ago
workgroupengineering
d0401bd01c
Fixes markup warnings ( #6525 )
* fixes: suppress warning CS0659 Type overrides Object.Equals(object o) but does not override Object.GetHashCode()
* fixes: Warning CS0108 'AvaloniaXamlIlCompiler._configuration' hides inherited member 'XamlCompiler<IXamlILEmitter, XamlILNodeEmitResult>._configuration'. Use the new keyword if hiding was intended.
* fixes: Warning CS8765 Nullability of type of parameter 'obj' doesn't match overridden member.
5 years ago
Pieter-Jan Briers
a99786d9c4
Fix ICustomDrawOperation HitTest coordinate space.
The transform should be applied inverse, not directly, so that the draw operation can operate on local space.
5 years ago
Yoh Deadfall
d56715b388
Used EqualityComparer.Default to check values for equality
5 years ago
Nikita Tsukanov
acc6f6d319
[X11/RNDR] Wait for any in-progress rendering before destroying the window
5 years ago
Benedikt Stebner
5b09e7a60e
Fix flag parsing
5 years ago
Steven Kirk
591a791889
Added center properties to RotateTransform.
5 years ago
Steven Kirk
8e0497a41a
Updated ApiCompat baseline.
5 years ago
Steven Kirk
4dbf646a73
Implement CombinedGeometry.
5 years ago
Steven Kirk
89cb076778
Implement GeometryGroup.
5 years ago
Takoooooo
5c1fd27d1f
wip
5 years ago
Takoooooo
01518b37e7
test
5 years ago
Giuseppe Lippolis
dc71df166c
fixes(Visuals): Suppress warning CS0618 'IVisualWithRoundRectClip' is obsolete: 'Internal API, will be removed in future versions, you've been warned'
5 years ago
Luis von der Eltz
ae222e25e6
Mark IVisualTreeHost [Obsolete]
5 years ago