gdi-rendering-tests

Installation
SKILL.md

Writing Tests for GDI+ Rendering APIs

These rules apply when writing tests for existing or new drawing APIs on Graphics, GraphicsPath, Bitmap, Font, and related System.Drawing types. For WinForms control API tests, see the control-api-tests skill. For the drawing API implementation patterns, see the using-and-extending-gdi-plus skill.

Golden rule: Every rendering API needs tests for both integer and float overloads, and must verify that drawing actually produces pixels — not just that no exception is thrown.


1. Test Project Structure

1.1 Test locations

Installs
2
Repository
dotnet/winforms
GitHub Stars
4.8K
First Seen
Mar 30, 2026
gdi-rendering-tests — dotnet/winforms