Flutter Engine
The Flutter Engine
|
#include "include/core/SkScalar.h"
#include "include/core/SkString.h"
#include "include/private/base/SkTArray.h"
#include <cstddef>
#include <cstdint>
Go to the source code of this file.
Macros | |
#define | SK_strcasecmp strcasecmp |
Enumerations | |
enum | SkScalarAsStringType { kDec_SkScalarAsStringType , kHex_SkScalarAsStringType } |
enum | SkStrSplitMode { kStrict_SkStrSplitMode , kCoalesce_SkStrSplitMode } |
Functions | |
void | SkAppendScalar (SkString *, SkScalar, SkScalarAsStringType) |
static void | SkAppendScalarDec (SkString *str, SkScalar value) |
static void | SkAppendScalarHex (SkString *str, SkScalar value) |
SkString | SkTabString (const SkString &string, int tabCnt) |
SkString | SkStringFromUTF16 (const uint16_t *src, size_t count) |
void | SkStrSplit (const char *str, const char *delimiters, SkStrSplitMode splitMode, skia_private::TArray< SkString > *out) |
void | SkStrSplit (const char *str, const char *delimiters, skia_private::TArray< SkString > *out) |
#define SK_strcasecmp strcasecmp |
Definition at line 41 of file SkStringUtils.h.
enum SkScalarAsStringType |
Enumerator | |
---|---|
kDec_SkScalarAsStringType | |
kHex_SkScalarAsStringType |
Definition at line 18 of file SkStringUtils.h.
enum SkStrSplitMode |
Enumerator | |
---|---|
kStrict_SkStrSplitMode | |
kCoalesce_SkStrSplitMode |
Definition at line 44 of file SkStringUtils.h.
void SkAppendScalar | ( | SkString * | str, |
SkScalar | value, | ||
SkScalarAsStringType | asType | ||
) |
Definition at line 20 of file SkStringUtils.cpp.
Definition at line 25 of file SkStringUtils.h.
Definition at line 29 of file SkStringUtils.h.
SkString SkStringFromUTF16 | ( | const uint16_t * | src, |
size_t | count | ||
) |
Definition at line 64 of file SkStringUtils.cpp.
|
inline |
Definition at line 61 of file SkStringUtils.h.
void SkStrSplit | ( | const char * | str, |
const char * | delimiters, | ||
SkStrSplitMode | splitMode, | ||
skia_private::TArray< SkString > * | out | ||
) |
Definition at line 91 of file SkStringUtils.cpp.
Indents every non-empty line of the string by tabCnt tabs
Definition at line 37 of file SkStringUtils.cpp.