Flutter Engine
txt_test_utils.cc File Reference
#include "txt_test_utils.h"
#include <sstream>
#include "third_party/skia/include/core/SkTypeface.h"
#include "txt/asset_font_manager.h"
#include "txt/typeface_font_asset_provider.h"
#include "utils/MacUtils.h"
#include "utils/WindowsUtils.h"
#include <dirent.h>

Go to the source code of this file.

Namespaces

 txt
 

Functions

const std::string & txt::GetFontDir ()
 
void txt::SetFontDir (const std::string &dir)
 
const fml::CommandLinetxt::GetCommandLineForProcess ()
 
void txt::SetCommandLine (fml::CommandLine cmd)
 
void txt::RegisterFontsFromPath (TypefaceFontAssetProvider &font_provider, std::string directory_path)
 
std::shared_ptr< FontCollection > txt::GetTestFontCollection ()
 
std::unique_ptr< ParagraphTxt > txt::BuildParagraph (txt::ParagraphBuilderTxt &builder)
 

Variables

static std::string txt::gFontDir
 
static fml::CommandLine txt::gCommandLine