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

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

Constructor & Destructor Documentation

◆ FontGlyphPair()

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

Definition at line 138 of file font_glyph_pair.h.

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

Member Data Documentation

◆ glyph

◆ scaled_font


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