HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
hi::v1::font_id Class Reference

#include <hikogui/font/font_id.hpp>

Inheritance diagram for hi::v1::font_id:

Public Types

using super = tagged_id<font_id, uint32_t, std::numeric_limits<uint32_t>::max()>

Public Member Functions

font * operator-> () const
 Dereference to a font-object.

Detailed Description

An identifier for a font-family that was registered with HikoGUI.

The identifier is used as a index into a vector and starts at zero.

Member Function Documentation

◆ operator->()

font * v1::font_id::operator-> ( ) const
inlinenodiscard

Dereference to a font-object.

Returns
A pointer to a font. Will never be a nullptr.

The documentation for this class was generated from the following files: