Flutter Engine
The Flutter Engine
Classes | Namespaces | Enumerations | Functions | Variables
DartTypes.h File Reference
#include "include/core/SkRect.h"
#include "include/core/SkTypes.h"
#include <algorithm>
#include <iterator>
#include <limits>

Go to the source code of this file.

Classes

struct  skia::textlayout::PositionWithAffinity
 
struct  skia::textlayout::TextBox
 
struct  skia::textlayout::SkRange< T >
 

Namespaces

namespace  skia
 
namespace  skia::textlayout
 

Enumerations

enum  skia::textlayout::Affinity { skia::textlayout::kUpstream , skia::textlayout::kDownstream }
 
enum class  skia::textlayout::RectHeightStyle {
  skia::textlayout::kTight , skia::textlayout::kMax , skia::textlayout::kIncludeLineSpacingMiddle , skia::textlayout::kIncludeLineSpacingTop ,
  skia::textlayout::kIncludeLineSpacingBottom , skia::textlayout::kStrut
}
 
enum class  skia::textlayout::RectWidthStyle { skia::textlayout::kTight , skia::textlayout::kMax }
 
enum class  skia::textlayout::TextAlign {
  skia::textlayout::kLeft , skia::textlayout::kRight , skia::textlayout::kCenter , skia::textlayout::kJustify ,
  skia::textlayout::kStart , skia::textlayout::kEnd
}
 
enum class  skia::textlayout::TextDirection { skia::textlayout::kRtl , skia::textlayout::kLtr }
 
enum class  skia::textlayout::TextBaseline { skia::textlayout::kAlphabetic , skia::textlayout::kIdeographic }
 
enum  skia::textlayout::TextHeightBehavior { skia::textlayout::kAll = 0x0 , skia::textlayout::kDisableFirstAscent = 0x1 , skia::textlayout::kDisableLastDescent = 0x2 , skia::textlayout::kDisableAll = 0x1 | 0x2 }
 
enum class  skia::textlayout::LineMetricStyle : uint8_t { skia::textlayout::Typographic , skia::textlayout::CSS }
 

Functions

template<typename C , typename UnaryFunction >
UnaryFunction skia::textlayout::directional_for_each (C &c, bool forwards, UnaryFunction f)
 

Variables

const size_t skia::textlayout::EMPTY_INDEX = std::numeric_limits<size_t>::max()
 
const SkRange< size_t > skia::textlayout::EMPTY_RANGE = SkRange<size_t>(EMPTY_INDEX, EMPTY_INDEX)