Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Xamarin
  3. NGraphics

NGraphics

MITC#v0.5.0

A cross-platform .NET library for rendering vector graphics with a unified API for immediate and retained mode graphics.

GitHubGitHub
729 stars130 forks0 contributors

What is NGraphics?

NGraphics is a cross-platform library for rendering vector graphics on .NET. It provides a unified API for both immediate and retained mode graphics, allowing developers to draw shapes, paths, and images across multiple platforms using high-quality native renderers. It solves the problem of fragmented graphics APIs by offering a consistent interface for Android, iOS, Mac, Windows, and more.

Target Audience

.NET developers building cross-platform applications with custom UI widgets, interactive graphics, or SVG/PNG import/export functionality, particularly those using Xamarin or multi-platform .NET frameworks.

Value Proposition

Developers choose NGraphics for its unified API that abstracts platform-specific graphics details, enabling consistent vector graphics rendering across all supported .NET environments without sacrificing native performance or quality.

Overview

NGraphics is a cross platform library for rendering vector graphics on .NET. It provides a unified API for both immediate and retained mode graphics using high quality native renderers.

Use Cases

Best For

  • Building cross-platform UI widgets with custom vector graphics
  • Creating interactive views with retained mode graphics for performance
  • Importing and exporting SVG files in .NET applications
  • Generating PNG images from vector drawings programmatically
  • Developing graphics-rich applications on Xamarin for iOS and Android
  • Prototyping vector graphics with a live preview editor on OS X

Not Ideal For

  • Projects needing high-level, pre-styled UI components with minimal drawing code
  • Teams not using OS X for development, due to the OS X-only live preview editor
  • Applications requiring advanced 3D graphics or complex particle systems
  • Simple graphics tasks where direct platform-specific APIs are sufficient

Pros & Cons

Pros

Cross-Platform Consistency

Provides a unified API across Android, iOS, Mac, Windows, and more using native renderers like CoreGraphics and Direct2D, ensuring high performance without platform-specific code.

Dual Mode Graphics

Supports both immediate and retained mode graphics, allowing for flexible use cases from real-time UI rendering to cached drawings, as highlighted in the Retained Mode section.

SVG and PNG Handling

Easily imports and exports SVG and PNG files, enabling programmatic graphics manipulation and generation, demonstrated in examples like the icon and cat drawings.

Live Preview Editor

Includes an OS X editor with live preview to speed up drawing development, allowing quick iteration without full project compiles, as described in the Editor section.

Cons

No Built-in Layering

The README admits there's no multi-layering within elements, requiring multiple draws for complex effects, which can increase code complexity and reduce efficiency.

OS X-Limited Tooling

The live preview editor is only available for OS X, making it less useful for developers on Windows or Linux who rely on cross-platform design workflows.

Platform Dependency Overhead

Relies on platform-specific graphics APIs (e.g., Direct2D for Windows, CoreGraphics for iOS/Mac), which can complicate setup and maintenance, especially for multi-target projects.

Frequently Asked Questions

Quick Stats

Stars729
Forks130
Contributors0
Open Issues59
Last commit9 months ago
CreatedSince 2015

Tags

#xamarin#svg-rendering#dotnet#graphics-library#image-processing#cross-platform#ui-rendering#vector-graphics

Built With

S
SharpDX
C
CoreGraphics
S
System.Drawing
X
Xamarin
.
.NET

Included in

Xamarin1.9k
Auto-fetched 20 hours ago

Related Projects

SkiaSharpSkiaSharp

SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.

Stars5,517
Forks642
Last commit18 hours ago
LibVLCSharpLibVLCSharp

Cross-platform .NET/Mono bindings for LibVLC

Stars1,797
Forks300
Last commit2 days ago
Fast & Furious Image LoadingFast & Furious Image Loading

Image loading, caching & transforming library for Xamarin and Windows

Stars1,403
Forks370
Last commit3 years ago
LottieLottie

Render After Effects animations natively on Android, iOS, MacOS and TvOS for Xamarin

Stars1,214
Forks253
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub