Anki/proto/anki
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
..
ankidroid.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
ankiweb.proto Change Anki's version scheme; bump to 23.09 (#2640) 2023-09-07 12:37:15 +10:00
backend.proto Move protobuf generation into a separate crate; write .py interface in Rust 2023-06-12 09:52:00 +10:00
card_rendering.proto Rework RenderCardOutput::question/answer 2023-06-27 00:37:41 +10:00
cards.proto Store desired retention in card data 2023-09-23 15:42:42 +10:00
collection.proto Integrate FSRS into Anki (#2654) 2023-09-16 16:09:26 +10:00
config.proto Implement "stop timer on answer" as a preset option (#2686) 2023-09-27 16:10:14 +10:00
deck_config.proto Support rescheduling on weight/retention change 2023-10-01 15:20:58 +10:00
decks.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
frontend.proto Improve presentation of importing results (#2568) 2023-08-02 20:29:44 +10:00
generic.proto Add java_multiple_files option to proto files 2022-06-27 15:16:04 +10:00
i18n.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
image_occlusion.proto Add text tool to image occlusion (#2705) 2023-10-12 13:40:11 +10:00
import_export.proto Merging Notetypes on Import (#2612) 2023-09-09 09:00:55 +10:00
links.proto More service generation refactoring 2023-06-22 09:46:09 +10:00
media.proto Add a backend method to extract static media references (#2716) 2023-10-11 14:10:02 +10:00
notes.proto Add a backend method to add notes in bulk (#2659) 2023-09-16 13:51:32 +10:00
notetypes.proto Skip template checks in Fields screen (#2670) 2023-09-20 16:09:54 +10:00
scheduler.proto Update FSRS 2023-09-30 16:10:22 +10:00
search.proto Invalid sorting (#2709) 2023-10-07 06:36:15 +00:00
stats.proto Add stability graph 2023-10-01 15:44:33 +10:00
sync.proto Refactor media sync handling (#2647) 2023-09-10 13:22:20 +10:00
tags.proto More service generation refactoring 2023-06-22 09:46:09 +10:00