CommunityToolkit / CommunityToolkit/Windows

Port Win2D_Path_Mini_Language from 7.x

Open
#790 0 comments 0 reactions 0 assignees View on GitHub
porting
Dominant language
C#
Stars
1.1k
Forks
166
PR merge metrics
No merged PRs in 30d

Description

**Source**: Microsoft.Toolkit.Parsers (7.x)
**Destination**: CommunityToolkit.WinUI.* (8.x) — not yet ported

## Description

The Win2D Path Mini Language is a powerful language based on the SVG Path language specification.

## Prerequisites

None identified.

## Porting Basics

- [ ] Namespace updated to `CommunityToolkit.WinUI.*`
- [ ] Code for UWP, WinUI3 and Uno Platform consolidated
- [ ] Desired MultiTargets configured
- [ ] Sample code migrated
- [ ] Concept docs migrated
- [ ] Tests migrated and passing

## Quality Evaluation

See [Porting Criteria](https://github.com/CommunityToolkit/Windows/wiki/Component-Quality-Evaluation) for detailed evaluation guidance.

- [n/a] UX: Accessibility reviewed
- [n/a] UX: Visual design reviewed
- [n/a] UX: Interaction patterns appropriate
- [ ] DX: API surface reviewed
- [ ] DX: API flexibility appropriate
- [ ] DX: Documentation updated
- [ ] MX: Breaking changes documented
- [ ] MX: Domain isolation appropriate
- [ ] MX: Test coverage adequate

## Tracking Gaps

*No gaps identified — porting work not yet started.*

## Closing

- [ ] All Porting Basics complete
- [ ] Quality Evaluation reviewed
- [ ] Gaps filed as sub-issues

---

## 7x Documentation Inventory

**Docs ported to 8x**: n/a

**Docs not in 8x**:
- Introduction
- Requirements
- Win2D Path Mini Language
- Path Mini Language
- Fill Behavior
- MoveTo, LineTo, Horizontal LineTo, Vertical LineTo
- Cubic Bézier, Smooth Cubic Bézier
- Quadratic Bézier, Smooth Quadratic Bézier
- Arc, Close Path
- Ellipse Figure, Polygon Figure, Rectangle Figure, RoundedRectangle Figure
- CanvasBrush Mini Language
- ICanvasBrush Attribute Commands
- Start Point
- End Point
- Opacity
- Alpha Mode
- Buffer Precision
- Edge Behavior
- Pre Interpolation Color Space
- Post Interpolation Color Space
- Origin Offset
- GradientStop
- GradientStopHdr
- SolidColorBrush
- LinearGradientBrush
- LinearGradientBrush with GradientStopHdr
- RadialGradientBrush
- RadialGradientBrush with GradientStopHdr
- CanvasStrokeStyle Mini Language
- CanvasStrokeStyle Attributes
- Dash Style
- Line Join
- Miter Limit
- Dash Offset
- Start Cap
- End Cap
- Dash Cap
- Transform Behavior
- Custom Dash Style
- Defining the CanvasStrokeStyle
- CanvasStroke Mini Language
- ICanvasStroke interface and CanvasStroke class
- Creating Geometries, Brushes, Strokes and StrokeStyles

## 7x Source Inventory

**Source already ported to 8x**: n/a

**Source not ported to 8x**: n/a

## Notes

- Not currently planned for porting. Open to community interest.
- **Technical dependency**: Requires Win2D integration consideration for WinUI 3.
- **Archive redirect**: https://learn.microsoft.com/en-us/dotnet/communitytoolkit/windows/archive/win2d_path_mini_language

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.