Blender V5.3
blender::ui::MarkdownLayoutCacheKey Struct Reference

#include <interface_label_markdown.hh>

Public Member Functions

bool operator== (const MarkdownLayoutCacheKey &other) const =default

Public Attributes

StringRef text
int wrap_width_px = 0
float pixels_per_point = 0.0f
int markdown_layout_generation = 0

Detailed Description

The information that impacts the markdown laying out process. If this changes, the layout generally changes too.

Definition at line 100 of file interface_label_markdown.hh.

Member Function Documentation

◆ operator==()

bool blender::ui::MarkdownLayoutCacheKey::operator== ( const MarkdownLayoutCacheKey & other) const
default

Member Data Documentation

◆ markdown_layout_generation

int blender::ui::MarkdownLayoutCacheKey::markdown_layout_generation = 0

◆ pixels_per_point

float blender::ui::MarkdownLayoutCacheKey::pixels_per_point = 0.0f

◆ text

StringRef blender::ui::MarkdownLayoutCacheKey::text

◆ wrap_width_px

int blender::ui::MarkdownLayoutCacheKey::wrap_width_px = 0

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