Skip to content

Port CanvasPathGeometry from 7.x #789

@Arlodotexe

Description

@Arlodotexe

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

Description

The CanvasPathGeometry class facilitates the drawing and manipulation of complex geometrical shapes.

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 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:

  • Summary
  • Examples
    • Creating CanvasGeometry with CanvasPathGeometry
    • Creating Color
      • From Hexadecimal Color String or High Dynamic Range Color String
      • From High Dynamic Range Color (Vector4)
    • Creating ICanvasBrush
    • Creating CanvasStrokeStyle
    • Creating ICanvasStroke
    • Compositor Extension Methods
    • Creating a Squircle

7x Source Inventory

Source already ported to 8x: n/a

Source not ported to 8x: All

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    portingPorting component from 7.x to 8.x

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions