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

#include <font_features.h>

Public Member Functions

void SetAxisValue (std::string tag, float value)
 
const std::map< std::string, float > & GetAxisValues () const
 

Detailed Description

Definition at line 42 of file font_features.h.

Member Function Documentation

◆ GetAxisValues()

const std::map< std::string, float > & txt::FontVariations::GetAxisValues ( ) const

Definition at line 51 of file font_features.cc.

51 {
52 return axis_map_;
53}

◆ SetAxisValue()

void txt::FontVariations::SetAxisValue ( std::string  tag,
float  value 
)

Definition at line 47 of file font_features.cc.

47 {
48 axis_map_[tag] = value;
49}
uint8_t value

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