anki/rslib
Abdo 9e147c6335
Add text tool to image occlusion (#2705)
* Add text tool to IO

* Remove unnecessary parentheses

* Fix text objects always grouped

* Remove log

* Fix text objects hidden on back side

* Implement text scaling

* Add inverse text outline

* Warn about IO notes with only text objects

This will result in a different error message than the case where no
objects are added at all though, and the user can bypass the warning.
Maybe this is better to avoid discarding the user's work if they have
spent some time adding text.

* Add isValidType

* Use matches!

* Lock aspect ratio of text objects

* Reword misleading comment

The confusion probably comes from the Fabric docs, which apparently need updating: http://fabricjs.com/docs/fabric.Canvas.html#uniformScaling

* Do not count text objects when calculating current index

* Make text objects respond to size changes

* Fix uniform scaling not working when editing

* Use Arial font

* Escape colons and unify parsing

* Handle scale factor when restricting shape to view

* Use 'cloned'

* Add text background

* Tweak drawShape's params
2023-10-12 13:40:11 +10:00
..
benches Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
i18n Stop including Qt translations when EXTRA_FTL_ROOT provided 2023-07-04 18:26:27 +10:00
io Tooltips for CSV import and import page refactoring (#2655) 2023-09-14 09:06:15 +10:00
linkchecker Drop workspace-hack in favor of workspace deps 2023-06-23 17:41:31 +10:00
process Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
proto Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
proto_gen Update nightly formatter 2023-09-02 16:13:50 +10:00
src Add text tool to image occlusion (#2705) 2023-10-12 13:40:11 +10:00
sync Support creating a standalone sync server 2023-07-02 18:22:44 +10:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore
bench.sh Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
build.rs Fix building outside workspace 2023-07-02 18:22:44 +10:00
Cargo.toml Update incompatible Rust deps 2023-09-28 10:00:47 +10:00
README.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
rust_interface.rs Update nightly formatter 2023-09-02 16:13:50 +10:00

Anki's Rust code.