Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
txt::RunMetrics Class Reference

#include <run_metrics.h>

Public Member Functions

 RunMetrics (const TextStyle *style)
 
 RunMetrics (const TextStyle *style, const SkFontMetrics &metrics)
 

Public Attributes

const TextStyletext_style
 
SkFontMetrics font_metrics
 

Detailed Description

Definition at line 26 of file run_metrics.h.

Constructor & Destructor Documentation

◆ RunMetrics() [1/2]

txt::RunMetrics::RunMetrics ( const TextStyle style)
inlineexplicit

Definition at line 28 of file run_metrics.h.

28: text_style(style) {}
const TextStyle * text_style
Definition: run_metrics.h:33

◆ RunMetrics() [2/2]

txt::RunMetrics::RunMetrics ( const TextStyle style,
const SkFontMetrics metrics 
)
inline

Definition at line 30 of file run_metrics.h.

31 : text_style(style), font_metrics(metrics) {}
SkFontMetrics font_metrics
Definition: run_metrics.h:52

Member Data Documentation

◆ font_metrics

SkFontMetrics txt::RunMetrics::font_metrics

Definition at line 52 of file run_metrics.h.

◆ text_style

const TextStyle* txt::RunMetrics::text_style

Definition at line 33 of file run_metrics.h.


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