mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 08:11:41 +00:00
Selecting the Quick Pen tool shows a toolbar on the canvas. Straight Line, Continuous Arc and Sharp Corner Arc set the tool's action, Flip Arc flips the last sharp-corner arc as C does, and More Options has Hide Toolbar, Pin Toolbar Position and Reset Toolbar Position. The handle at its left end drags it. While a path is being drawn, the toolbar sits beside the path's last point, 24 screen points off it on the side the path heads toward, or on the other side where that side runs off the canvas. With no path being drawn, it sits at the bottom center of the canvas. A drag's offset applies in the kind of place it was made in (beside the drawing or resting), and not where it would cover the path's last point. Pinned, it stays at its place in the canvas window. It hides while a press drags on the canvas, and its controls wrap in a canvas pane narrower than the toolbar. Hide Toolbar hides it until the tool is selected again; Window › Quick Pen Toolbar also shows or hides it. - Tool::drawing_end and Session::tool_drawing_end give the point the path goes on from and the direction it arrives in. - New desktop commands: window.quickPenToolbar, window.quickPenToolbar.pin, window.quickPenToolbar.reset and tool.quickPen.flipArc; ui.inspect reports quickPenToolbar. - Labels in every catalog. Docs: docs/mcp.md, docs/control-protocol.md, ROADMAP, docs/ui-parity.md, docs/target-app-parity.md. Part of #2660.
65 lines
1.0 KiB
Rust
65 lines
1.0 KiB
Rust
mod adjust;
|
|
mod aisave;
|
|
mod automation;
|
|
pub(super) mod background;
|
|
mod clipboard;
|
|
mod contextmenu;
|
|
mod cut;
|
|
mod distortkeys;
|
|
mod docsetup;
|
|
mod document_drag;
|
|
pub(super) mod folder;
|
|
mod font_menu;
|
|
mod fonts;
|
|
mod guide_escape;
|
|
mod home;
|
|
pub(super) mod labels;
|
|
mod lifecycle;
|
|
mod nativemenu;
|
|
mod nativeoptions;
|
|
mod numfields;
|
|
mod overprint;
|
|
mod paintchips;
|
|
mod pastechords;
|
|
mod pathtype;
|
|
mod pdfoutput;
|
|
pub(super) mod picks;
|
|
mod place;
|
|
mod plugin_runs;
|
|
mod plugins;
|
|
mod printps;
|
|
mod printtiling;
|
|
mod puppetwarp;
|
|
mod quickpenbar;
|
|
mod recolor;
|
|
mod recovery;
|
|
pub(super) mod removeanchors;
|
|
mod rotateview;
|
|
mod ruler_origin;
|
|
mod save;
|
|
mod saveext;
|
|
mod screenmode;
|
|
mod screenshots;
|
|
mod script_check;
|
|
mod script_dialogs;
|
|
mod script_run;
|
|
mod scripts_menu;
|
|
mod scrub;
|
|
mod selectall;
|
|
mod selectescape;
|
|
mod slices;
|
|
pub(super) mod svg;
|
|
mod svgsave;
|
|
pub(super) mod synthetic;
|
|
pub(super) mod sysclip;
|
|
mod sysclip_emf;
|
|
mod sysclip_guides;
|
|
mod sysclip_probe;
|
|
mod tab_overflow;
|
|
mod tab_reorder;
|
|
mod taskbar;
|
|
mod toolescape;
|
|
mod trace_runs;
|
|
mod transparencygrid;
|
|
mod widthtool;
|