Flutter Impeller
impeller::SubpixelGlyph Struct Reference

A glyph and its subpixel position. More...

#include <font_glyph_pair.h>

Classes

struct  Equal
 
struct  Hash
 

Public Member Functions

 SubpixelGlyph (Glyph p_glyph, Point p_subpixel_offset, std::optional< GlyphProperties > p_properties)
 

Public Attributes

Glyph glyph
 
Point subpixel_offset
 
std::optional< GlyphPropertiesproperties
 

Detailed Description

A glyph and its subpixel position.

Definition at line 54 of file font_glyph_pair.h.

Constructor & Destructor Documentation

◆ SubpixelGlyph()

impeller::SubpixelGlyph::SubpixelGlyph ( Glyph  p_glyph,
Point  p_subpixel_offset,
std::optional< GlyphProperties p_properties 
)
inline

Definition at line 59 of file font_glyph_pair.h.

62  : glyph(p_glyph),
63  subpixel_offset(p_subpixel_offset),
64  properties(p_properties) {}

Member Data Documentation

◆ glyph

◆ properties

◆ subpixel_offset


The documentation for this struct was generated from the following file:
impeller::SubpixelGlyph::subpixel_offset
Point subpixel_offset
Definition: font_glyph_pair.h:56
impeller::SubpixelGlyph::properties
std::optional< GlyphProperties > properties
Definition: font_glyph_pair.h:57
impeller::SubpixelGlyph::glyph
Glyph glyph
Definition: font_glyph_pair.h:55