Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ProwlEngine/Prowl.Quill/llms.txt

Use this file to discover all available pages before exploring further.

Prowl.Quill gives .NET developers a lightweight, hardware-accelerated 2D vector graphics canvas. Draw paths, shapes, gradients, text, SVGs, and even 3D-projected scenes with a clean, familiar API modeled after the HTML5 Canvas — all rendered through pluggable backends for OpenTK, Raylib, SFML, Silk.NET, Unity, and WebAssembly.

Quickstart

Get Prowl.Quill installed and draw your first shapes in minutes.

Installation

Add the NuGet package and configure a rendering backend.

Core Concepts

Understand the Canvas lifecycle, state model, and draw call batching.

API Reference

Full reference for every Canvas method, type, and interface.

What You Can Build

Prowl.Quill is designed for game engines, editors, and apps that need crisp, GPU-rendered 2D graphics without a full UI framework. It handles everything from simple filled rectangles to complex SVG scenes and animated rich text.

Shape Primitives

Rectangles, circles, pies, rounded rects — all hardware-accelerated with built-in AA.

Path Drawing

Bézier curves, arcs, and arbitrary polylines with full stroke control.

Gradients

Linear, radial, and box gradients with per-draw-call brush state.

Text & Rich Text

Font atlas rendering with HiDPI support, animations, and markdown.

SVG Rendering

Parse and render SVG files directly onto any Canvas.

Multiple Backends

Swap between OpenTK, Raylib, SFML, Silk.NET, Unity, and WASM.

Getting Started

1

Install the NuGet package

Add Prowl.Quill to your .NET project via NuGet:
dotnet add package Prowl.Quill
2

Choose a rendering backend

Pick the backend that matches your windowing library — OpenTK, Raylib, SFML, Silk.NET, Unity, or WebAssembly. Each backend implements ICanvasRenderer. See the Backends overview for details.
3

Create a Canvas and draw

Instantiate Canvas with your renderer and start drawing:
var canvas = new Canvas(myRenderer, new FontAtlasSettings());
canvas.BeginFrame(width, height, framebufferScale);

canvas.RectFilled(10, 10, 200, 100, Color32.FromArgb(255, 100, 180, 255));
canvas.SetStrokeColor(Color32.FromArgb(255, 255, 255, 255));
canvas.SetStrokeWidth(2f);
canvas.Circle(300, 150, 60);
canvas.Stroke();

canvas.Render();
4

Explore drawing primitives

Dive into shapes, paths, text, and advanced features to build your scene.
Prowl.Quill targets net6.0 through net10.0 and netstandard2.1. It has a single NuGet dependency: Prowl.Scribe for text rendering.

Build docs developers (and LLMs) love