| Flutter Impeller |

Public Member Functions | Public Attributes | List of all members
impeller::FontGlyphPair Struct Reference

A font along with a glyph in that font rendered at a particular scale. More...

`#include <font_glyph_pair.h>`

## Public Member Functions
| FontGlyphPair (const ScaledFont &sf, const Glyph &g)

## Public Attributes
const ScaledFont & | scaled_font
const Glyph & | glyph

## Detailed Description

A font along with a glyph in that font rendered at a particular scale.

Definition at line 35 of file font_glyph_pair.h.

## Constructor & Destructor Documentation

## ◆ FontGlyphPair()

impeller::FontGlyphPair::FontGlyphPair | ( | const ScaledFont & | sf,
|  | const Glyph & | g
| ) |  |
| inline

Definition at line 36 of file font_glyph_pair.h.

37 : scaled_font(sf), glyph(g) {}

## Member Data Documentation

## ◆ glyph

const Glyph& impeller::FontGlyphPair::glyph

Definition at line 39 of file font_glyph_pair.h.

Referenced by impeller::GlyphAtlas::AddTypefaceGlyphPosition(), impeller::CanAppendToExistingAtlas(), and impeller::GlyphAtlas::FindFontGlyphBounds().

## ◆ scaled_font

const ScaledFont& impeller::FontGlyphPair::scaled_font

Definition at line 38 of file font_glyph_pair.h.

Referenced by impeller::GlyphAtlas::AddTypefaceGlyphPosition(), impeller::CanAppendToExistingAtlas(), and impeller::GlyphAtlas::FindFontGlyphBounds().

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

- impeller/typographer/font_glyph_pair.h

impeller::FontGlyphPair::glyph
const Glyph & glyph
Definition: font_glyph_pair.h:39
impeller::FontGlyphPair::scaled_font
const ScaledFont & scaled_font
Definition: font_glyph_pair.h:38