mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-10 06:31:19 +00:00
addon.select.byArtboards {artboards, relation} in a new Selection Tools
add-on. Overlapping is All on Active Artboard's test, now one shared
helper (select::on_artboard); Fully inside is within one artboard, edges
included; Fully outside is on none. Objects are those Select All takes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
635 B
Rust
27 lines
635 B
Rust
//! VectorCraft's built-in add-ons: extra tools beyond the standard menus, each a module of its own
|
|
//! with commands under `addon.<name>.*` (see `docs/mcp.md`).
|
|
|
|
mod arrange;
|
|
mod cleanup;
|
|
mod color;
|
|
mod document;
|
|
mod pathtools;
|
|
mod pen;
|
|
mod select;
|
|
mod typetools;
|
|
|
|
use super::CommandSpec;
|
|
|
|
/// The commands of every built-in add-on.
|
|
pub fn specs() -> Vec<CommandSpec> {
|
|
let mut v = arrange::specs();
|
|
v.extend(cleanup::specs());
|
|
v.extend(color::specs());
|
|
v.extend(document::specs());
|
|
v.extend(pathtools::specs());
|
|
v.extend(pen::specs());
|
|
v.extend(select::specs());
|
|
v.extend(typetools::specs());
|
|
v
|
|
}
|