Files
LanMountainDesktop/ThirdParty/DotNetCampus.InkCanvas/README.md
lincube 68ca532dc0 Move whiteboard persistence to file storage
Switch whiteboard note storage from legacy DB rows to per-note JSON files and add migration support. Update WhiteboardNoteSnapshot schema (version bump, viewport, canvas, expires, PathSvgData) and change IWhiteboardNotePersistenceService.SaveNote to return bool to surface write failures (e.g. read-only files). Implement file-based WhiteboardNotePersistenceService with legacy DB migration/cleanup, retention handling, and logging. Add comprehensive unit tests for persistence, stroke path builder, SVG import and viewport helper. Also add ThirdParty/DotNetCampus.InkCanvas project and reference it in the main csproj, and bump PostHog package to 2.6.0.
2026-05-06 00:45:33 +08:00

18 lines
773 B
Markdown

# DotNetCampus.InkCanvas Avalonia 12 Compatibility Fork
This source is vendored from `dotnet-campus/DotNetCampus.InkCanvas` at commit
`e4383cadc3ae206dd96f5b72ba889a007ebc44fa`, matching the
`DotNetCampus.AvaloniaInkCanvas` 1.0.1 NuGet package previously used by the app.
The local project keeps the assembly name `DotNetCampus.AvaloniaInkCanvas` so the
host code can continue using the existing namespaces and APIs.
Local compatibility changes:
- Replace Avalonia 11 `Visual.VisualRoot` render scaling access with
`TopLevel.GetTopLevel(this)?.RenderScaling`.
- Reference Avalonia 12 packages from a local project instead of the
Avalonia 11-targeted NuGet package.
- Import the Avalonia 12 optional feature extension namespace for Skia custom
drawing operations.