yasmin_editor.editor_gui.selection_placement module

Qt-free helpers for manual selection placement previews.

class yasmin_editor.editor_gui.selection_placement.SelectionPlacementPreview(label: str, width: float, height: float)

Bases: object

Lightweight preview metadata shown while a copied bundle follows the cursor.

height: float
label: str
width: float
yasmin_editor.editor_gui.selection_placement.build_selection_preview(bundle: SelectionBundle, *, verb: str) SelectionPlacementPreview

Return a stable preview rectangle and label for one pending bundle placement.