| Flutter Impeller |

Classes | Public Attributes | List of all members
impeller::ScaledFont Struct Reference

A font and a scale. Used as a key that represents a typeface within a glyph atlas. More...

`#include <font_glyph_pair.h>`

## Classes
struct | Equal
struct | Hash

## Public Attributes
Font | font
Scalar | scale

## Detailed Description

A font and a scale. Used as a key that represents a typeface within a glyph atlas.

Definition at line 33 of file font_glyph_pair.h.

## Member Data Documentation

## ◆ font

Font impeller::ScaledFont::font

Definition at line 34 of file font_glyph_pair.h.

Referenced by impeller::CanAppendToExistingAtlas(), impeller::CollectNewGlyphs(), impeller::ComputeGlyphSize(), impeller::TypographerContextSTB::CreateGlyphAtlas(), impeller::DrawGlyph(), impeller::ScaledFont::Hash::operator()(), and impeller::ScaledFont::Equal::operator()().

## ◆ scale

Scalar impeller::ScaledFont::scale

Definition at line 35 of file font_glyph_pair.h.

Referenced by impeller::CollectNewGlyphs(), impeller::TypographerContextSTB::CreateGlyphAtlas(), impeller::DrawGlyph(), impeller::ScaledFont::Hash::operator()(), and impeller::ScaledFont::Equal::operator()().

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

- impeller/typographer/font_glyph_pair.h