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::SamplePickerLayout Struct Reference

Pure geometry for the sample grid. Values are logical pixels in the pane. More...

#include "donner/editor/SamplePickerPresenter.h"

Public Attributes

SamplePickerLayoutMode mode = SamplePickerLayoutMode::Narrow
std::size_t columns = 1
std::size_t rows = 0
float cardWidth = 0.0f
float cardHeight = kSamplePickerMinTouchTarget

Detailed Description

Pure geometry for the sample grid. Values are logical pixels in the pane.

Member Data Documentation

◆ cardHeight

float donner::editor::SamplePickerLayout::cardHeight = kSamplePickerMinTouchTarget

◆ cardWidth

float donner::editor::SamplePickerLayout::cardWidth = 0.0f

◆ columns

std::size_t donner::editor::SamplePickerLayout::columns = 1

◆ mode

SamplePickerLayoutMode donner::editor::SamplePickerLayout::mode = SamplePickerLayoutMode::Narrow

◆ rows

std::size_t donner::editor::SamplePickerLayout::rows = 0

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