Sparkle 0.0.1
Loading...
Searching...
No Matches
spk::Font::Size Struct Reference

Defines glyph and outline sizes for a font bitmap. More...

#include <spk_font.hpp>

Collaboration diagram for spk::Font::Size:
Collaboration graph

Public Member Functions

bool operator== (const Size &p_other) const noexcept
 Compares sizes for equality.

Public Attributes

size_t glyph
 Glyph size in pixels.
size_t outline
 Outline size in pixels.

Detailed Description

Defines glyph and outline sizes for a font bitmap.

Member Function Documentation

◆ operator==()

bool spk::Font::Size::operator== ( const Size & p_other) const
inlinenoexcept

Compares sizes for equality.

Parameters
p_otherSize to compare.
Returns
true when both glyph and outline sizes match.

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