Flutter Engine
paragraph.cc File Reference
#include "flutter/lib/ui/text/paragraph.h"
#include "flutter/common/settings.h"
#include "flutter/common/task_runners.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/task_runner.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"

Go to the source code of this file.

Namespaces

 flutter
 

Macros

#define FOR_EACH_BINDING(V)
 

Functions

 flutter::IMPLEMENT_WRAPPERTYPEINFO (ui, Paragraph)
 
static tonic::Float32List flutter::EncodeTextBoxes (const std::vector< txt::Paragraph::TextBox > &boxes)
 

Macro Definition Documentation

◆ FOR_EACH_BINDING

#define FOR_EACH_BINDING (   V)
Value:
V(Paragraph, width) \
V(Paragraph, height) \
V(Paragraph, longestLine) \
V(Paragraph, minIntrinsicWidth) \
V(Paragraph, maxIntrinsicWidth) \
V(Paragraph, alphabeticBaseline) \
V(Paragraph, ideographicBaseline) \
V(Paragraph, didExceedMaxLines) \
V(Paragraph, layout) \
V(Paragraph, paint) \
V(Paragraph, getWordBoundary) \
V(Paragraph, getLineBoundary) \
V(Paragraph, getRectsForRange) \
V(Paragraph, getRectsForPlaceholders) \
V(Paragraph, getPositionForOffset) \
V(Paragraph, computeLineMetrics)
int32_t height
int32_t width

Definition at line 22 of file paragraph.cc.