Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
skia::textlayout::StyleMetrics Class Reference

#include <Metrics.h>

Public Member Functions

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

Public Attributes

const TextStyletext_style
 
SkFontMetrics font_metrics
 

Detailed Description

Definition at line 10 of file Metrics.h.

Constructor & Destructor Documentation

◆ StyleMetrics() [1/2]

skia::textlayout::StyleMetrics::StyleMetrics ( const TextStyle style)
inline

Definition at line 12 of file Metrics.h.

12: text_style(style) {}
const TextStyle * text_style
Definition: Metrics.h:17

◆ StyleMetrics() [2/2]

skia::textlayout::StyleMetrics::StyleMetrics ( const TextStyle style,
SkFontMetrics metrics 
)
inline

Definition at line 14 of file Metrics.h.

15 : text_style(style), font_metrics(metrics) {}
SkFontMetrics font_metrics
Definition: Metrics.h:36

Member Data Documentation

◆ font_metrics

SkFontMetrics skia::textlayout::StyleMetrics::font_metrics

Definition at line 36 of file Metrics.h.

◆ text_style

const TextStyle* skia::textlayout::StyleMetrics::text_style

Definition at line 17 of file Metrics.h.


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