Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::FormatBarFontPreview Struct Reference

Donner-rendered family-name preview uploaded for one dropdown row. More...

#include "donner/editor/TextFormatBarPresenter.h"

Public Member Functions

bool available () const
 Return whether a preview has a texture and positive logical dimensions.

Public Attributes

std::uint64_t texture = 0
 Backend texture handle represented without importing ImGui into this header.
float uvMaxX = 1.0f
 Bottom-right UV for texture allocations larger than the preview payload.
float uvMaxY = 1.0f
 Bottom (maximum V) texture coordinate of the preview payload.
float width = 0.0f
 Logical row size used when the raster payload was produced.
float height = 0.0f
 Preview row height in logical UI pixels.

Detailed Description

Donner-rendered family-name preview uploaded for one dropdown row.


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