#include <vector>#include "flutter/display_list/dl_paint.h"#include "flutter/skwasm/export.h"#include "flutter/skwasm/live_objects.h"#include "flutter/skwasm/text/text_types.h"#include "flutter/skwasm/wrappers.h"#include "third_party/skia/include/core/SkString.h"#include "third_party/skia/modules/skparagraph/include/Paragraph.h"Go to the source code of this file.
Variables | |
| const double | kTextHeightNone = 0.0 |
| SKWASM_EXPORT void textStyle_addFontFamilies | ( | Skwasm::TextStyle * | style, |
| SkString ** | font_families, | ||
| int | count | ||
| ) |
Definition at line 79 of file text_style.cc.
References i, and Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_addFontFeature | ( | Skwasm::TextStyle * | style, |
| SkString * | feature_name, | ||
| int | value | ||
| ) |
Definition at line 145 of file text_style.cc.
References Skwasm::TextStyle::skia_style, and value.
| SKWASM_EXPORT void textStyle_addShadow | ( | Skwasm::TextStyle * | style, |
| SkColor | color, | ||
| SkScalar | offset_x, | ||
| SkScalar | offset_y, | ||
| SkScalar | blur_sigma | ||
| ) |
Definition at line 136 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_clearFontFamilies | ( | Skwasm::TextStyle * | style | ) |
Definition at line 75 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT Skwasm::TextStyle * textStyle_copy | ( | Skwasm::TextStyle * | style | ) |
Definition at line 26 of file text_style.cc.
References Skwasm::live_text_style_count.
| SKWASM_EXPORT Skwasm::TextStyle * textStyle_create | ( | ) |
Definition at line 17 of file text_style.cc.
References Skwasm::live_text_style_count.
| SKWASM_EXPORT void textStyle_dispose | ( | Skwasm::TextStyle * | style | ) |
Definition at line 31 of file text_style.cc.
References Skwasm::live_text_style_count.
| SKWASM_EXPORT void textStyle_setBackground | ( | Skwasm::TextStyle * | style, |
| flutter::DlPaint * | paint | ||
| ) |
Definition at line 126 of file text_style.cc.
References Skwasm::TextStyle::background.
| SKWASM_EXPORT void textStyle_setColor | ( | Skwasm::TextStyle * | style, |
| SkColor | color | ||
| ) |
Definition at line 36 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setDecoration | ( | Skwasm::TextStyle * | style, |
| skia::textlayout::TextDecoration | decoration | ||
| ) |
Definition at line 40 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setDecorationColor | ( | Skwasm::TextStyle * | style, |
| SkColor | color | ||
| ) |
Definition at line 46 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setDecorationStyle | ( | Skwasm::TextStyle * | style, |
| skia::textlayout::TextDecorationStyle | decoration_style | ||
| ) |
Definition at line 51 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setDecorationThickness | ( | Skwasm::TextStyle * | style, |
| SkScalar | thickness | ||
| ) |
Definition at line 57 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setFontSize | ( | Skwasm::TextStyle * | style, |
| SkScalar | size | ||
| ) |
Definition at line 95 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setFontStyle | ( | Skwasm::TextStyle * | style, |
| int | weight, | ||
| SkFontStyle::Slant | slant | ||
| ) |
Definition at line 62 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setFontVariations | ( | Skwasm::TextStyle * | style, |
| SkFourByteTag * | axes, | ||
| float * | values, | ||
| int | count | ||
| ) |
Definition at line 151 of file text_style.cc.
References i, and Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setForeground | ( | Skwasm::TextStyle * | style, |
| flutter::DlPaint * | paint | ||
| ) |
Definition at line 131 of file text_style.cc.
References Skwasm::TextStyle::foreground.
| SKWASM_EXPORT void textStyle_setHalfLeading | ( | Skwasm::TextStyle * | style, |
| bool | half_leading | ||
| ) |
Definition at line 116 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setHeight | ( | Skwasm::TextStyle * | style, |
| SkScalar | height | ||
| ) |
Definition at line 110 of file text_style.cc.
References height, kTextHeightNone, and Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setLetterSpacing | ( | Skwasm::TextStyle * | style, |
| SkScalar | letter_spacing | ||
| ) |
Definition at line 100 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setLocale | ( | Skwasm::TextStyle * | style, |
| SkString * | locale | ||
| ) |
Definition at line 121 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setTextBaseline | ( | Skwasm::TextStyle * | style, |
| skia::textlayout::TextBaseline | baseline | ||
| ) |
Definition at line 69 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| SKWASM_EXPORT void textStyle_setWordSpacing | ( | Skwasm::TextStyle * | style, |
| SkScalar | word_spacing | ||
| ) |
Definition at line 105 of file text_style.cc.
References Skwasm::TextStyle::skia_style.
| const double kTextHeightNone = 0.0 |
Definition at line 15 of file text_style.cc.
Referenced by flutter::ParagraphBuilder::pushStyle(), and textStyle_setHeight().