Flutter Engine
paragraph_builder.cc File Reference
#include "flutter/lib/ui/text/paragraph_builder.h"
#include <cstring>
#include "flutter/common/settings.h"
#include "flutter/common/task_runners.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/task_runner.h"
#include "flutter/lib/ui/text/font_collection.h"
#include "flutter/lib/ui/ui_dart_state.h"
#include "flutter/lib/ui/window/platform_configuration.h"
#include "flutter/third_party/txt/src/txt/font_style.h"
#include "flutter/third_party/txt/src/txt/font_weight.h"
#include "flutter/third_party/txt/src/txt/paragraph_style.h"
#include "flutter/third_party/txt/src/txt/text_baseline.h"
#include "flutter/third_party/txt/src/txt/text_decoration.h"
#include "flutter/third_party/txt/src/txt/text_style.h"
#include "third_party/icu/source/common/unicode/ustring.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/tonic/converter/dart_converter.h"
#include "third_party/tonic/dart_args.h"
#include "third_party/tonic/dart_binding_macros.h"
#include "third_party/tonic/dart_library_natives.h"
#include "third_party/tonic/typed_data/dart_byte_data.h"

Go to the source code of this file.

Namespaces

 flutter
 

Macros

#define FOR_EACH_BINDING(V)
 
#define FLUTTER_PARAGRAPH_BUILDER   txt::ParagraphBuilder::CreateTxtBuilder
 

Functions

static void flutter::ParagraphBuilder_constructor (Dart_NativeArguments args)
 
 flutter::IMPLEMENT_WRAPPERTYPEINFO (ui, ParagraphBuilder)
 
void flutter::decodeStrut (Dart_Handle strut_data, const std::vector< std::string > &strut_font_families, txt::ParagraphStyle &paragraph_style)
 
void flutter::decodeTextShadows (Dart_Handle shadows_data, std::vector< txt::TextShadow > &decoded_shadows)
 
void flutter::decodeFontFeatures (Dart_Handle font_features_data, txt::FontFeatures &font_features)
 

Macro Definition Documentation

◆ FLUTTER_PARAGRAPH_BUILDER

#define FLUTTER_PARAGRAPH_BUILDER   txt::ParagraphBuilder::CreateTxtBuilder

Referenced by flutter::decodeStrut().

◆ FOR_EACH_BINDING

#define FOR_EACH_BINDING (   V)
Value:
V(ParagraphBuilder, pushStyle) \
V(ParagraphBuilder, pop) \
V(ParagraphBuilder, addText) \
V(ParagraphBuilder, addPlaceholder) \
V(ParagraphBuilder, build)

Definition at line 141 of file paragraph_builder.cc.

Referenced by flutter::ParagraphBuilder::RegisterNatives().