Flutter Engine
The Flutter Engine
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

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

Constructor & Destructor Documentation

◆ FontGlyphPair()

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

Definition at line 61 of file font_glyph_pair.h.

62 : scaled_font(sf), glyph(g) {}
const SubpixelGlyph & glyph
const ScaledFont & scaled_font

Member Data Documentation

◆ glyph

const SubpixelGlyph& impeller::FontGlyphPair::glyph

Definition at line 64 of file font_glyph_pair.h.

◆ scaled_font

const ScaledFont& impeller::FontGlyphPair::scaled_font

Definition at line 63 of file font_glyph_pair.h.


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