|
|
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.
|
One scrollbar axis of the render pane's emulated canvas scrollbars. More...
#include "donner/editor/CanvasScrollbars.h"
One scrollbar axis of the render pane's emulated canvas scrollbars.
| double donner::editor::CanvasScrollbarAxis::contentPerThumbPx = 1.0 |
Screen-space content shift per pixel of thumb drag: dragging the thumb by +1 px pans the content by -contentPerThumbPx px on this axis.
| double donner::editor::CanvasScrollbarAxis::railLength = 0.0 |
Rail length along the axis, in logical screen coordinates.
| double donner::editor::CanvasScrollbarAxis::railStart = 0.0 |
Rail start position along the axis, in logical screen coordinates.
| double donner::editor::CanvasScrollbarAxis::thumbLength = 0.0 |
Thumb length along the axis, in logical screen coordinates.
| double donner::editor::CanvasScrollbarAxis::thumbStart = 0.0 |
Thumb start position along the axis, in logical screen coordinates.
| bool donner::editor::CanvasScrollbarAxis::visible = false |
True when the document extends past the pane on this axis (the bar is drawn only when there is something to scroll to).