| 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 and subpixel position. More...

`#include <font_glyph_pair.h>`

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

## Public Attributes
ScaledFont | scaled_font
SubpixelGlyph | glyph

## Detailed Description

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

Definition at line 110 of file font_glyph_pair.h.

## Constructor & Destructor Documentation

## ◆ FontGlyphPair()

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

Definition at line 111 of file font_glyph_pair.h.

112 : scaled_font(sf), glyph(g) {}
impeller::FontGlyphPair::glyph
SubpixelGlyph glyph
Definition: font_glyph_pair.h:114
impeller::FontGlyphPair::scaled_font
ScaledFont scaled_font
Definition: font_glyph_pair.h:113

## Member Data Documentation

## ◆ glyph

SubpixelGlyph impeller::FontGlyphPair::glyph

Definition at line 114 of file font_glyph_pair.h.

Referenced by impeller::GlyphAtlas::AddTypefaceGlyphPositionAndBounds(), impeller::BulkUpdateAtlasBitmap(), impeller::GlyphAtlas::FindFontGlyphBounds(), and impeller::UpdateAtlasBitmap().

## ◆ scaled_font

ScaledFont impeller::FontGlyphPair::scaled_font

Definition at line 113 of file font_glyph_pair.h.

Referenced by impeller::GlyphAtlas::AddTypefaceGlyphPositionAndBounds(), impeller::BulkUpdateAtlasBitmap(), impeller::GlyphAtlas::FindFontGlyphBounds(), and impeller::UpdateAtlasBitmap().

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

- impeller/typographer/font_glyph_pair.h