{"id":13691810,"url":"https://github.com/dotnet/Microsoft.Maui.Graphics","last_synced_at":"2025-05-02T15:33:04.900Z","repository":{"id":37044458,"uuid":"307816689","full_name":"dotnet/Microsoft.Maui.Graphics","owner":"dotnet","description":"An experimental cross-platform native graphics library.","archived":true,"fork":false,"pushed_at":"2023-06-07T02:20:47.000Z","size":7231,"stargazers_count":677,"open_issues_count":97,"forks_count":61,"subscribers_count":41,"default_branch":"main","last_synced_at":"2025-04-20T14:59:03.325Z","etag":null,"topics":["csharp","skiasharp","uwp","wpf","xamarin","xamarin-android","xamarin-forms","xamarin-ios","xamarin-mac"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-10-27T20:14:14.000Z","updated_at":"2025-03-22T01:57:29.000Z","dependencies_parsed_at":"2024-01-23T21:57:06.007Z","dependency_job_id":"29eaf030-04d4-4548-a42a-a4c8d097cfbf","html_url":"https://github.com/dotnet/Microsoft.Maui.Graphics","commit_stats":null,"previous_names":["jonlipsky/system.graphics"],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2FMicrosoft.Maui.Graphics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2FMicrosoft.Maui.Graphics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2FMicrosoft.Maui.Graphics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet%2FMicrosoft.Maui.Graphics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotnet","download_url":"https://codeload.github.com/dotnet/Microsoft.Maui.Graphics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252063140,"owners_count":21688655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","skiasharp","uwp","wpf","xamarin","xamarin-android","xamarin-forms","xamarin-ios","xamarin-mac"],"created_at":"2024-08-02T17:00:50.644Z","updated_at":"2025-05-02T15:33:00.807Z","avatar_url":"https://github.com/dotnet.png","language":"C#","funding_links":[],"categories":["csharp","UI","Plugins","xamarin"],"sub_categories":["Get Started"],"readme":"# Microsoft.Maui.Graphics (Experiment)\n\n[![NuGet](https://badgen.net/nuget/v/Microsoft.Maui.Graphics)](https://www.nuget.org/packages/Microsoft.Maui.Graphics/)\n\nMicrosoft.Maui.Graphics is an experimental cross-platform graphics library for iOS, Android, Windows, macOS, Tizen and Linux written completely in C#. A Microsoft supported portion of this library has been merged with [dotnet/maui](https://github.com/dotnet/maui) and is maintained separately. This project remains separate for developers to experiment further on additional scenarios such as WASM, WinForms, WPF, Xamarin, and Linux.\n\nWith this library you can use a common API to target multiple abstractions allowing you to share your drawing code between platforms, or mix and match graphics implementations within a singular application.\n\n# Goals\n* No dependencies on System.Drawing\n* Support all graphics operations within an abstraction that the underlying abstraction supports.\n\n# Status\nThis is an experimental library; however it's based on code that's been in use in production applications for over 10 years.  Because it was refactored out of another code base, some things may have been broken in that process.\n\n# Disclaimer\nThere is no official support. Use at your own Risk.\n\n# Supported Platforms\nPlatform               | Supported Abstractions |\n-----------------------|-------------------------------------------|\nXamarin.iOS            | CoreGraphics \u0026 SkiaSharp |\nXamarin.Android        | Android.Graphics \u0026 SkiaSharp |\nXamarin.Mac            | CoreGraphics \u0026 SkiaSharp |\nWPF                    | SharpDX, SkiaSharp, Xaml \u0026 GDI |\nUWP                    | SharpDX, Win2D, Xaml, SkiaSharp |\nWinForms               | SharpDX, SkiaSharp \u0026 GDI |\nTizen                  | SkiaSharp |\nLinux                  | SkiaSharp |\nXamarin.Forms          | Dependent on native platform support (noted above) |\n\n# Main Abstractions\n* Canvas - You can draw to a any of the supported abstractions with a common drawing canvas API and a support of common operations and primitives\n    * Rectangle, Point and Color primitives\n    * Shapes (Rectangles, Rounded Rectangles, Ellipses, Arcs)\n    * Paths\n    * Images\n    * Fonts\n    * Shadows\n    * Image and pattern fills\n    * Clipping\n    * etc...\n* Fonts - You can access fonts with a common API\n* Attributed text - You can draw attributed text with a common API\n* Bitmaps - You can create and draw on bitmap images with a common API\n* PDF - You can create PDFs using a common API\n\n# Known Limitations\n* Attributed text is not currently supported with SkiaSharp\n* The included Blazor (Canvas) implementation no longer compiles, but is included as a reminder to get it working again\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet%2FMicrosoft.Maui.Graphics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotnet%2FMicrosoft.Maui.Graphics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet%2FMicrosoft.Maui.Graphics/lists"}