Skip to content

Commit 7028796

Browse files
committed
加上性能说明
1 parent 9d27238 commit 7028796

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ This project originated from: https://github.com/AvaloniaUI/Avalonia/issues/1477
5353

5454
**A:** Yes, this library can be used in Linux environments. It is built on Avalonia and SkiaSharp, which are cross-platform frameworks that support Linux.
5555

56+
**Q:** Can I directly use this library to create a high-performance handwriting whiteboard application?
57+
58+
**A:** No, due to the rendering performance limitations of Avalonia, this library cannot currently be used to create high-performance handwriting whiteboard applications. If you need a high-performance handwriting whiteboard application, it is recommended to add a WPF acceleration layer on the Windows platform to use WPF for rendering strokes to improve performance; on the Linux platform, use native X11 rendering to enhance performance. For related discussions, please refer to <https://github.com/AvaloniaUI/Avalonia/discussions/18702>
59+
5660
### Advanced Usage
5761

5862
#### Switch stroke renderer

README_zh-CN.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545

4646
**A:** 可以。这个库基于 Avalonia 和 SkiaSharp 构建,这些都是支持 Linux 的跨平台框架。
4747

48+
**Q:** 我是否能直接用这个库制作出一个高性能笔迹白板应用?
49+
50+
**A:** 不可以。受限于 Avalonia 的渲染性能,目前这个库还不能用来制作高性能的笔迹白板应用。如果你需要一个高性能的笔迹白板应用,建议在 Windows 平台上添加 WPF 加速层,使用 WPF 绘制笔迹以提升性能;在 Linux 平台上使用 X11 原生绘制以提升性能。相关讨论请参考 <https://github.com/AvaloniaUI/Avalonia/discussions/18702>
51+
4852
### 进阶用法
4953

5054
#### 切换笔迹渲染器

0 commit comments

Comments
 (0)