Граф коммитов

85 Коммитов

Автор SHA1 Сообщение Дата
Rui Marinho 5289051907
Update winapp sdk 2022-03-23 19:03:28 +00:00
jonlipsky 48ef07882e
Merge pull request #333 from dotnet/geometryutil
Renamed Geometry class to GeometryUtil
2022-03-10 12:55:04 -08:00
Javier Suárez Ruiz 5dda528c4c Updated samples 2022-03-07 16:28:47 +01:00
Javier Suárez Ruiz 2352b024e0 Renamed Geometry class to GeometryUtil 2022-03-03 10:02:52 +01:00
Matthew Leibowitz b088c6ce6d
Restore Skia packages (#319) 2022-03-03 08:09:15 +02:00
redth 9a9ab39a72 Merge branch 'main' into rename-rectangle 2022-03-01 17:27:35 -05:00
Rui Marinho 5afcd5e98c
Bump TargetFrameworkVersion Android 2022-02-25 17:52:18 +00:00
Rui Marinho 57fb455d03
API 31 2022-02-25 17:19:00 +00:00
Javier Suárez Ruiz 1724f57574 Renamed Rectangle to Rect and RectangleF to RectF 2022-02-18 10:34:22 +01:00
Scott W Harden a112ced109 GraphicsTester: add ScaleCanvas scenario
Add a new abstract scenario to demonstrate Canvas.Scale() with distinct X and Y scales. This test currently demonstrates a bug described by #302 where only the X scale is respected when drawing paths.
2022-02-05 11:51:50 -05:00
Scott W Harden 7fcf55c64f GraphicsTester: add scaled path tests
This commit adds a DrawPathsScaled AbstractScenario (complimenting the existing DrawLinesScaled scenario) to demonstrate PathF scaling functionality #302
2022-02-05 11:37:08 -05:00
Redth c6a3e95c81 Add another test / sample case 2022-01-26 11:28:06 -05:00
Matthew Leibowitz d562c98328 Remove logger 2022-01-21 14:07:35 +02:00
Matthew Leibowitz dccf6d0fe5 Merge branch 'main' into remove-services 2022-01-20 18:49:43 +02:00
Scott W Harden c46aa91db6 GraphicsTester: DrawRoundedRectangles circularity test
The new DrawRoundedWithCircles() test uses DrawRoundedRectangle() to draw a rounded rectangle around 4 perfect circles. This graphic can be used to assess alignment of the rounded rectangle corners with the edge of the circles #269
2022-01-19 22:43:39 -05:00
Matthew Leibowitz b938a6dbd3 c# 10 for net6 2022-01-19 05:56:42 +02:00
Matthew Leibowitz e5ad8dcfe9 No more <LangVersion> in csproj 2022-01-19 03:53:17 +02:00
Matthew Leibowitz 42fdcde19d bump versions 2022-01-18 21:33:09 +02:00
Matthew Leibowitz 3a126bc81e Merge branch 'main' into remove-services 2022-01-13 22:07:07 +02:00
Scott W Harden bcc5019216 GraphicsTester: additional rounded rectangle tests
Add tests for rounded rectangles with user-defined distinct horizontal and vertical radii
2022-01-09 16:20:21 -05:00
redth 2b95d0071e Remove designer generated file 2021-11-29 12:01:21 -05:00
redth 2f603c5f73 Add net6 android tester 2021-11-29 12:00:14 -05:00
redth c51507436f Fix android fonts lookup init & remove fonts
Android 31 has different file permissions and we can no longer lookup fonts in system directories.  We don't need to do this in MAUI Graphics anyway, and there's a larger PR that refactors fonts to be more simple and opinionated, but this will stop crashing on android 31 for now.
2021-11-29 10:48:59 -05:00
Redth 9e21f5e048 Update samples 2021-11-25 21:43:41 -05:00
redth 8d81e25f1b Net6 portable sample tester 2021-11-25 15:27:01 -05:00
Redth cff30516c7 Add maui sample 2021-11-25 15:19:50 -05:00
Redth 2e62e7fb36 Add PlatformImage to netstandard 2021-11-25 14:44:59 -05:00
redth 4baa449333 Initial Pass at service removal / rename
Lots of changes...

 - Remove Services, no more singletons
 - Make more things internal (for now)
 - Rename native -> platform
2021-11-25 00:25:08 -05:00
Matthew Leibowitz abfcd60ee7
Update to WASDK 1.0!!! (#234) 2021-11-17 00:54:16 +02:00
Rui Marinho 1b00f30da4
Merge branch 'release/6.0.1xx-preview10' 2021-10-29 11:48:15 +01:00
Matthew Leibowitz 2cd12cf9b6
Update Win2D (#218) 2021-10-29 03:10:23 +02:00
Matthew Leibowitz d1aff21a1c
Try Updating to Preview 3 (#217) 2021-10-28 21:48:01 +02:00
jonlipsky 20edf3ed6a
Merge pull request #216 from swharden/sample-console
GraphicsTester: Console Application
2021-10-26 12:22:26 -07:00
Scott W Harden 2d5e7980c7 GraphicsTester: dispose BitmapExportContext 2021-10-24 16:04:19 -04:00
Scott W Harden e56e09239c GraphicsTester: create console tester 2021-10-24 15:49:12 -04:00
Scott W Harden 6c743561e6 WPF GraphicsTester: simplify xaml
The ScrollViewer isn't addressed in code so it does not require a name
2021-10-24 15:03:18 -04:00
Scott W Harden 577e2a63f3 WPF GraphicsTester: add scrolling support 2021-10-24 14:55:03 -04:00
Scott W Harden 13a408d69b Samples: increase TestPattern1 width 2021-10-24 14:53:38 -04:00
jonlipsky 2e4c1c2b83
Merge pull request #187 from swharden/scenario-dimensions
[GraphicsTester] Fix test scenario canvas sizes
2021-10-15 10:57:23 -07:00
Matthew Leibowitz ad7098cd99
Update Win2D to 1.0.0.28-preview2 (#198) 2021-10-15 04:24:15 +02:00
Matthew Leibowitz a15a74532f
Update WASDK to preview 2 (#196) 2021-10-13 00:20:22 +02:00
Matthew Leibowitz 4df44e96bf Update Win2D to 1.0.0.27-preview1 2021-10-05 21:41:37 +02:00
Scott W Harden 809f770040 [GraphicsTester] use accurate scenario canvas sizes
Some scenarios are extremely large and roll-off the test window if it's not properly sized. Using accurate dimensions ensures important visual elements aren't cropped when saving or inspecting scenarios.
2021-10-03 20:45:25 -04:00
Scott W Harden e7f05f66ce [GraphicsTester.Portable] Add DimensionTest Scenario
This scenario draws 1px thick lines at the edges of the canvas. This can be used to confirm that rendering does not crop or extend beyond the canvas.

This scenario is useful verifying that dirty rectangle size and placement on the window is accurate to the pixel.
2021-10-02 21:05:49 -04:00
Scott W Harden c72d96d098 [GDI.WinForms] resize the gdiGraphicsView1 to fit the Scenario
The background of the scrollpanel containing the graphics view is now ControlDark so when a Scenario is loaded its obvious how large it is (it resembles a white page on a light gray backdrop)
2021-10-02 21:02:40 -04:00
Scott W Harden 32e66dc3e1 [GraphicsTester.GDI] scrollable graphics area
Make the split panel scrollable (to the size of the selected Scenario). This improves the window, but not all Scenario objects have accurate dimensions presently.

Changes in the designer files (indentation and deletion of comments) were performed automatically by the visual Visual Studio 2022 (preview) editor.
2021-10-02 20:15:55 -04:00
Matthew Leibowitz 60ec213031 Merge branch 'release/6.0.1xx-preview9' 2021-09-28 16:04:59 +02:00
Matthew Leibowitz 88dc82fa63
Bump Microsoft.Graphics.Win2D (#179) 2021-09-28 15:29:08 +02:00
Matthew Leibowitz 3bc30d6ea6 Revert "Revert "Update the WASDK (#176)" (#178)"
This reverts commit ed6befcea0.
2021-09-28 14:55:56 +02:00
Matthew Leibowitz ed6befcea0
Revert "Update the WASDK (#176)" (#178) 2021-09-28 14:52:58 +02:00