Flutter Impeller
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

const ScaledFontscaled_font
 
const SubpixelGlyphglyph
 

Detailed Description

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

Definition at line 114 of file font_glyph_pair.h.

Constructor & Destructor Documentation

◆ FontGlyphPair()

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

Definition at line 115 of file font_glyph_pair.h.

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

Member Data Documentation

◆ glyph

◆ scaled_font


The documentation for this struct was generated from the following file:
impeller::FontGlyphPair::glyph
const SubpixelGlyph & glyph
Definition: font_glyph_pair.h:118
impeller::FontGlyphPair::scaled_font
const ScaledFont & scaled_font
Definition: font_glyph_pair.h:117