Nikita Tsukanov
79e2d44005
Only use scoped keyword when building with .NET 7 SDK
4 years ago
Giuseppe Lippolis
f271654d64
fix: CS8350
4 years ago
Steven Kirk
fb0da85ad3
Merge core libraries. ( #5831 )
* Merge core libraries.
Everything below `Avalonia.Controls` into `Avalonia.Base`.
* Move new files to correct place.
* Removed unused dirs/projects,
* Removed outdated references from theme assemblies.
* Merge unit tests to match new assembly layout.
* Fixup test namespaces.
* Make directory match namespace.
* Move files to match namespace.
* Move files to match namespace.
* Fix up incorrect namespace.
`Avalonia.Visuals.Media.Imaging` -> `Avalonia.Media.Imaging`.
* Fix resource URL.
* Removed outdated dependencies.
* Added missing project reference.
* Update test namespaces.
* Fix merge error.
* Fix merge errors.
* Fix bad merge in WindowsInteropTest.csproj.
* Fix up merge errors in csprojs.
* Remove merged tests from nuke.
* Fix up namespace.
* Fix compile error.
* Fix failing tests.
Now that more unit tests are present in Avalonia.Base.UnitTests, general `AvaloniaObject` properties are getting registered. Ignore those.
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
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.
5 years ago
Benedikt Stebner
5b09e7a60e
Fix flag parsing
5 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
Andrey Kunchev
f4c7f63ae7
remove wrong logic for path assume line by default if command is missing
7 years ago
Andrey Kunchev
a675cd2e68
when close figure set current point back to start, fixes partially #3053
7 years ago
Andrey Kunchev
6844cc1450
fixes #1930 PathMarkupParser ends figure always
8 years ago
Benedikt Schroeder
370bfe3c82
Support double values that start with a dot for implicit commands
8 years ago
Benedikt Schroeder
ac8342ebf8
Allow lower case e for scientific notation
8 years ago
Benedikt Schroeder
b3cfc22e27
Add scientific notation support for double values
8 years ago
Jeremy Koritzinsky
85159c069c
Span-ification v2. Remove CommandToken and just operate directly on the single span. Memory allocation is now down to less than 5KB.
8 years ago
Jeremy Koritzinsky
11d3e7f7e3
Make _isOpen non-nullable since the only two values that were used were true and null.
8 years ago
Jeremy Koritzinsky
c31edafb55
Clear up code logic.
8 years ago
Jeremy Koritzinsky
e2f5453798
Remove LINQ usage.
8 years ago
Jeremy Koritzinsky
6c6f1b48cf
Remove unused static constructor.
8 years ago
Jeremy Koritzinsky
dc9fb565fd
Remove old regex-based parser
8 years ago
Jeremy Koritzinsky
7f8dc7766e
Span-ified PathMarkupParser v1.
8 years ago
Benedikt Schroeder
b35e2456eb
Code style
8 years ago
Benedikt Schroeder
935074431c
Normalize whitespaces in path data
8 years ago
Benedikt Schroeder
41fd37151f
IGeometryContext implementation
8 years ago
Benedikt Schroeder
cd39703645
Direct2D1 EndFigure fix
8 years ago
Benedikt Schroeder
b8f8c1ef0f
IGeometryContext implementation
8 years ago
Benedikt Schroeder
61816fdf92
Relative move command fix
8 years ago
Benedikt Schroeder
cbca7beefd
Initial
8 years ago
Goldy
6dd497bbc8
Code improvement
Removed unused or duplicated code
9 years ago
Jurjen Biewenga
d4af351251
Removed unused code
9 years ago
Jurjen Biewenga
8659bddce8
Implemented path markup for Q S and T
9 years ago
Dan Walmsley
b6949b920e
correctly parse bezier curve seperators.
9 years ago
Dan Walmsley
c79be3d6eb
Revert "correctly parse bezier curve seperators."
This reverts commit ff57a88eb7 .
9 years ago
Dan Walmsley
ff57a88eb7
correctly parse bezier curve seperators.
9 years ago
Eli Arbel
42115b6ade
Fix #1107
9 years ago
Steven Kirk
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
10 years ago
Steven Kirk
1b32a6aac3
Fixed unused member warnings.
That only show up on mono: seems the standard C# compiler silently
ignores most of these.
10 years ago
Steven Kirk
40c2111548
Fix path absolute/relative parsing logic.
10 years ago
donandren
0be9f0e648
fixed PathMarkupParser now parsing negative values without separator
10 years ago
Jeremy Koritzinsky
7969504431
Added path clipping infrastructure. Got Skia implementation working.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Ivan Kochurkin
93e1f0d388
Removed PointPair.
11 years ago
Ivan Kochurkin
bf9d9e270b
Added PolygonTests with evenOdd fill.
Fixed errors after merge.
11 years ago
Ivan Kochurkin
13d8263fa3
Added CubicBezierCurveRelative implementation option for path rendering.
Fixed ReadDouble (whitespaces processing).
11 years ago
donandren
05da19937f
Path properly parse Arc implemented - issue #354
11 years ago
Steven Kirk
67835cc09b
Applied a bunch of resharper suggestions.
11 years ago
Wiesław Šoltés
6583019576
Renamed BezierTo and QuadTo method names
11 years ago
Nikita Tsukanov
3cd3579475
"field can be readonly"
11 years ago
Nikita Tsukanov
dbeb0344f8
static readonly rename
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago