FuncDoodle
Loading...
Searching...
No Matches
TextUtil.h File Reference

Static utility functions for measuring ImGui text dimensions. More...

#include "UI/Gui.h"

Go to the source code of this file.

Classes

struct  FuncDoodle::TextMetrics
 Basic rect struct used for text measurement. More...
class  FuncDoodle::TextUtil
 Opaque,static text measurement utility functions. More...

Namespaces

namespace  FuncDoodle
 The FuncDoodle C++ namespace.

Detailed Description

Static utility functions for measuring ImGui text dimensions.

This header provides helper functions for calculating text metrics using ImGui fonts. It is primarily used for UI layout and alignment logic within FuncDoodle.

Functionality includes:

  • Measuring text width and height
  • Computing text bounding metrics
  • Comparing multiple text blocks for maximum width calculations
Note
This class is purely static and must never be instantiated.
Warning
Relies on ImGui font rendering data (ImFont).