Flutter Engine
minikin::MinikinPaint Struct Reference

#include <MinikinFont.h>

Public Member Functions

 MinikinPaint ()
 
bool skipCache () const
 

Public Attributes

MinikinFontfont
 
float size
 
float scaleX
 
float skewX
 
float letterSpacing
 
float wordSpacing
 
uint32_t paintFlags
 
FontFakery fakery
 
HyphenEdit hyphenEdit
 
std::string fontFeatureSettings
 

Detailed Description

Definition at line 36 of file MinikinFont.h.

Constructor & Destructor Documentation

◆ MinikinPaint()

minikin::MinikinPaint::MinikinPaint ( )
inline

Definition at line 37 of file MinikinFont.h.

38  : font(nullptr),
39  size(0),
40  scaleX(0),
41  skewX(0),
42  letterSpacing(0),
43  wordSpacing(0),
44  paintFlags(0),
45  fakery(),
46  hyphenEdit(),
std::string fontFeatureSettings
Definition: MinikinFont.h:60
HyphenEdit hyphenEdit
Definition: MinikinFont.h:59
MinikinFont * font
Definition: MinikinFont.h:51

Member Function Documentation

◆ skipCache()

bool minikin::MinikinPaint::skipCache ( ) const
inline

Definition at line 49 of file MinikinFont.h.

References fontFeatureSettings.

49 { return !fontFeatureSettings.empty(); }
std::string fontFeatureSettings
Definition: MinikinFont.h:60

Member Data Documentation

◆ fakery

FontFakery minikin::MinikinPaint::fakery

Definition at line 58 of file MinikinFont.h.

◆ font

MinikinFont* minikin::MinikinPaint::font

Definition at line 51 of file MinikinFont.h.

◆ fontFeatureSettings

std::string minikin::MinikinPaint::fontFeatureSettings

Definition at line 60 of file MinikinFont.h.

Referenced by skipCache().

◆ hyphenEdit

HyphenEdit minikin::MinikinPaint::hyphenEdit

Definition at line 59 of file MinikinFont.h.

◆ letterSpacing

float minikin::MinikinPaint::letterSpacing

Definition at line 55 of file MinikinFont.h.

◆ paintFlags

uint32_t minikin::MinikinPaint::paintFlags

Definition at line 57 of file MinikinFont.h.

Referenced by txt::FontSkia_SetSkiaFont().

◆ scaleX

float minikin::MinikinPaint::scaleX

Definition at line 53 of file MinikinFont.h.

◆ size

float minikin::MinikinPaint::size

Definition at line 52 of file MinikinFont.h.

Referenced by txt::FontSkia_SetSkiaFont().

◆ skewX

float minikin::MinikinPaint::skewX

Definition at line 54 of file MinikinFont.h.

◆ wordSpacing

float minikin::MinikinPaint::wordSpacing

Definition at line 56 of file MinikinFont.h.


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