Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
donner::editor::EditorMainPaneLayout Struct Reference

Computed geometry for the editor's horizontal source/render/sidebar layout. More...

#include "donner/editor/EditorShellLayout.h"

Public Attributes

float sourcePaneWidth = 0.0f
 Effective source pane width. Zero when the source pane is hidden.
float sourcePaneRailWidth = 0.0f
 Effective source reveal-rail width. Zero while the source pane is visible.
float rightPaneWidth = 0.0f
 Clamped right sidebar width.
float renderPaneX = 0.0f
 Left edge of the render pane.
float renderPaneWidth = 0.0f
 Width of the render pane.
float rightPaneX = 0.0f
 Left edge of the right sidebar.

Detailed Description

Computed geometry for the editor's horizontal source/render/sidebar layout.

Member Data Documentation

◆ renderPaneWidth

float donner::editor::EditorMainPaneLayout::renderPaneWidth = 0.0f

Width of the render pane.

◆ renderPaneX

float donner::editor::EditorMainPaneLayout::renderPaneX = 0.0f

Left edge of the render pane.

◆ rightPaneWidth

float donner::editor::EditorMainPaneLayout::rightPaneWidth = 0.0f

Clamped right sidebar width.

◆ rightPaneX

float donner::editor::EditorMainPaneLayout::rightPaneX = 0.0f

Left edge of the right sidebar.

◆ sourcePaneRailWidth

float donner::editor::EditorMainPaneLayout::sourcePaneRailWidth = 0.0f

Effective source reveal-rail width. Zero while the source pane is visible.

◆ sourcePaneWidth

float donner::editor::EditorMainPaneLayout::sourcePaneWidth = 0.0f

Effective source pane width. Zero when the source pane is hidden.


The documentation for this struct was generated from the following file: