Flutter Engine
The Flutter Engine
|
#include "modules/skplaintexteditor/include/editor.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkExecutor.h"
#include "include/core/SkPath.h"
#include "src/base/SkUTF.h"
#include "modules/skplaintexteditor/src/shape.h"
#include <algorithm>
#include <cfloat>
Go to the source code of this file.
Functions | |
static SkRect | offset (SkRect r, SkIPoint p) |
static bool | valid_utf8 (const char *ptr, size_t size) |
template<typename F > | |
static void | readlines (const void *data, size_t size, F f) |
static StringSlice | remove_newline (const char *str, size_t len) |
static SkPoint | to_point (SkIPoint p) |
static bool | is_utf8_continuation (char v) |
static const char * | next_utf8 (const char *p, const char *end) |
static const char * | align_utf8 (const char *p, const char *begin) |
static const char * | prev_utf8 (const char *p, const char *begin) |
static size_t | count_char (const StringSlice &string, char value) |
static void | append (char **dst, size_t *count, const char *src, size_t n) |
static const char * | begin (const StringSlice &s) |
static const char * | end (const StringSlice &s) |
static size_t | align_column (const StringSlice &str, size_t p) |
template<typename T > | |
static size_t | find_first_larger (const std::vector< T > &list, T value) |
static size_t | find_closest_x (const std::vector< SkRect > &bounds, float x, size_t b, size_t e) |
Variables | |
static constexpr SkRect | kUnsetRect {-FLT_MAX, -FLT_MAX, -FLT_MAX, -FLT_MAX} |
|
static |
Definition at line 256 of file editor.cpp.
|
static |
Definition at line 120 of file editor.cpp.
|
static |
Definition at line 211 of file editor.cpp.
|
inlinestatic |
Definition at line 252 of file editor.cpp.
|
static |
Definition at line 147 of file editor.cpp.
|
inlinestatic |
Definition at line 254 of file editor.cpp.
|
static |
Definition at line 270 of file editor.cpp.
|
static |
Definition at line 266 of file editor.cpp.
|
inlinestatic |
Definition at line 106 of file editor.cpp.
|
static |
Definition at line 111 of file editor.cpp.
Definition at line 18 of file editor.cpp.
|
static |
Definition at line 127 of file editor.cpp.
Definition at line 30 of file editor.cpp.
|
static |
Definition at line 43 of file editor.cpp.
Definition at line 75 of file editor.cpp.
|
static |
Definition at line 24 of file editor.cpp.
|
staticconstexpr |
Definition at line 22 of file editor.cpp.