Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
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
 ImGui texture identifier for the rendered thumbnail.
Vector2d uvBottomRight = Vector2d(1.0, 1.0)
 Lower-right UV boundary of the valid thumbnail payload.
float aspectRatio = 1.0f
 Thumbnail width divided by height, used to preserve its proportions.

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

Thumbnail width divided by height, used to preserve its proportions.

◆ texture

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

ImGui texture identifier for the rendered thumbnail.

◆ uvBottomRight

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

Lower-right UV boundary of the valid thumbnail payload.


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