哈喽大家周末好呀!我们是James & Vicky
今天想和大家分享一个最近和一家外国公司进行的一次WPF编程测试的样本项目。
虽然不是什么非常新颖的题材,但是我还是非常尽力和用心的完成了,觉得是一个很好的经历,
所以想分享给大家。
本人源代码分享:jamesnet214/jamesinkcanvas (github.com)
以下是这家公司提供的条件:
Project Summary:
This app is designed to add an drawing canvas to a richtextbox to incorporate seamless drawing experience.
The issues:
the inkcanvas is not resizeable strokes are not added to the memory. when a user clicks undo or redo the whole canvas gets removed.
Restrictions:
The dotnet version for the app is 6.0
You can either work on the current code or rebuild from scratch
*大致内容翻译如下:
项目概要:
该应用程序的设计目的是在富文本框中加入一个绘图画布,以实现无缝的绘图体验。
问题:
- 画布(InkCanvas)大小不可调整。
- 笔迹没有存储到内存中,当用户点击撤销或重做时,整个画布都会被移除。
限制:
- 使用.net 6.0版本
- 可以基于当前的代码进行,或者从头开始重建
欢迎大家的评论或提问,如果内容对你有帮助的话记得点赞和关注我们哦^^