| Flutter Impeller |

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>`

## 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 32 of file font_glyph_pair.h.

## Member Data Documentation

## ◆ font

Font impeller::ScaledFont::font

Definition at line 33 of file font_glyph_pair.h.

Referenced by impeller::CanAppendToExistingAtlas(), impeller::ComputeGlyphSize(), impeller::TypographerContextSkia::CreateGlyphAtlas(), impeller::TypographerContextSTB::CreateGlyphAtlas(), impeller::DrawGlyph(), std::hash< impeller::ScaledFont >::operator()(), and std::equal_to< impeller::ScaledFont >::operator()().

## ◆ scale

Scalar impeller::ScaledFont::scale

Definition at line 34 of file font_glyph_pair.h.

Referenced by impeller::TypographerContextSkia::CreateGlyphAtlas(), impeller::TypographerContextSTB::CreateGlyphAtlas(), impeller::DrawGlyph(), std::hash< impeller::ScaledFont >::operator()(), and std::equal_to< impeller::ScaledFont >::operator()().

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

- impeller/typographer/font_glyph_pair.h