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

Donner-rendered sample artwork uploaded to a texture the picker can blit. More...

#include "donner/editor/SamplePickerPresenter.h"

Public Attributes

ImTextureID texture = 0
Vector2d uvBottomRight = Vector2d(1.0, 1.0)
float aspectRatio = 1.0f

Detailed Description

Donner-rendered sample artwork uploaded to a texture the picker can blit.

Member Data Documentation

◆ aspectRatio

float donner::editor::SamplePickerThumbnail::aspectRatio = 1.0f

◆ texture

ImTextureID donner::editor::SamplePickerThumbnail::texture = 0

◆ uvBottomRight

Vector2d donner::editor::SamplePickerThumbnail::uvBottomRight = Vector2d(1.0, 1.0)

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