# LayoutHelperSnapshot

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer/struct-layouthelpersnapshot/

**struct** · [`ferroui-designer`](/docs/0.5.0/api/ferroui-designer/) · v0.5.0

```rust
struct LayoutHelperSnapshot
```

Portable panel-local helper geometry and its measured affine mapping to the artboard.
Renderers transform vertices explicitly so their pens, labels and hit targets can stay
constant in screen space under zoom, rotation, reflection and shear.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_layout_helpers.rs#L69)

## Members

- [`scene`](#struct_field-scene)
- [`to_artboard`](#struct_field-to_artboard)
- [`new`](#function-new)
- [`is_current`](#function-is_current)
- [`handle_delta_to_artboard`](#function-handle_delta_to_artboard)

<a id="struct_field-scene"></a>

### scene

```rust
scene: ferroui_designer_tools::LayoutHelperScene
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_layout_helpers.rs#L70)

<a id="struct_field-to_artboard"></a>

### to_artboard

```rust
to_artboard: ferroui_designer_tools::Affine
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_layout_helpers.rs#L71)

<a id="function-new"></a>

### new

```rust
fn new(scene: LayoutHelperScene, to_artboard: Affine) -> Self
```

Construct a render-only snapshot for a standalone host. Session-created snapshots
additionally carry a private source identity used for authoring helper gestures.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_layout_helpers.rs#L78)

<a id="function-is_current"></a>

### is_current

```rust
fn is_current(self: &Self, session: &DesignerSession) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_layout_helpers.rs#L86)

<a id="function-handle_delta_to_artboard"></a>

### handle_delta_to_artboard

```rust
fn handle_delta_to_artboard(self: &Self, handle_index: usize, delta: LayoutPoint) -> Result<LayoutPoint, String>
```

Convert a logical handle adjustment into artboard displacement. Child margin grips
can live inside an internally scaled presenter with units unlike the outer panel.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer/workspace_layout_helpers.rs#L94)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Same`
- `Clone`
- `Debug`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
