Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 ScaledFontscaled_font
 
const Glyphglyph
 

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) {}
const ScaledFont & scaled_font

Member Data Documentation

◆ glyph

const Glyph& impeller::FontGlyphPair::glyph

Definition at line 39 of file font_glyph_pair.h.

◆ scaled_font

const ScaledFont& impeller::FontGlyphPair::scaled_font

Definition at line 38 of file font_glyph_pair.h.


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