Anki add-on: anki scratch paper

This plugin primarily adds a customizable scratchpad layer during Anki reviews, allowing users to freely draw, write, or even input text, eliminating the need for paper-based calculations or scribbling. Key features include: • Customizable Scratchpad : When a review session begins, a scratchpad layer is automatically created on the review interface, enabling both handwriting and text input. • Offers various control buttons, such as clear scratchpad, close scratchpad, color selection, thickness adjustment, and mode switching. • Supports switching between handwriting mode (for drawing) and text mode (for text input). • Display Only During Reviews : The scratchpad is only visible during review sessions, and its control buttons dynamically adjust their position and size when the interface is resized. • Automatic Clearing : After completing a card review, the scratchpad content is automatically cleared, and a new scratchpad is created when the next card review begins. 本插件主要实现了 在Anki的复习时 添加一层自定义草稿 ，用户可在草稿上任意涂画、书写甚至是输入文字，省去了在纸上计算、涂写的时间。 主要功能包括： • 自定义草稿 ，开始复习时，会自动创建一个可以在复习界面上进行手写和文本输入的草稿层。 • 提供了多种操作按钮，如清空草稿、关闭草稿、颜色选择、粗细选择和切换模式等。 • 支持手写模式和文本模式的切换，在手写模式下可以进行绘图，在文本模式下可以输入文本。 • 仅在复习状态下显示草稿 ，并在界面大小改变时调整功能按钮的位置和大小。 • 在完成卡片复习后会自动清空草稿内容 ，并在新卡片开始复习后开启一个新的草稿。