#include <vector>#include "flutter/skwasm/export.h"#include "flutter/skwasm/live_objects.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.
Functions | |
| SKWASM_EXPORT skia::textlayout::StrutStyle * | strutStyle_create () |
| SKWASM_EXPORT void | strutStyle_dispose (skia::textlayout::StrutStyle *style) |
| SKWASM_EXPORT void | strutStyle_setFontFamilies (skia::textlayout::StrutStyle *style, SkString **font_families, int count) |
| SKWASM_EXPORT void | strutStyle_setFontSize (skia::textlayout::StrutStyle *style, SkScalar font_size) |
| SKWASM_EXPORT void | strutStyle_setHeight (skia::textlayout::StrutStyle *style, SkScalar height) |
| SKWASM_EXPORT void | strutStyle_setHalfLeading (skia::textlayout::StrutStyle *style, bool half_leading) |
| SKWASM_EXPORT void | strutStyle_setLeading (skia::textlayout::StrutStyle *style, SkScalar leading) |
| SKWASM_EXPORT void | strutStyle_setFontStyle (skia::textlayout::StrutStyle *style, int weight, SkFontStyle::Slant slant) |
| SKWASM_EXPORT void | strutStyle_setForceStrutHeight (skia::textlayout::StrutStyle *style, bool force_strut_height) |
| SKWASM_EXPORT skia::textlayout::StrutStyle * strutStyle_create | ( | ) |
Definition at line 12 of file strut_style.cc.
References Skwasm::live_strut_style_count.
| SKWASM_EXPORT void strutStyle_dispose | ( | skia::textlayout::StrutStyle * | style | ) |
Definition at line 19 of file strut_style.cc.
References Skwasm::live_strut_style_count.
| SKWASM_EXPORT void strutStyle_setFontFamilies | ( | skia::textlayout::StrutStyle * | style, |
| SkString ** | font_families, | ||
| int | count | ||
| ) |
Definition at line 24 of file strut_style.cc.
References i.
| SKWASM_EXPORT void strutStyle_setFontSize | ( | skia::textlayout::StrutStyle * | style, |
| SkScalar | font_size | ||
| ) |
Definition at line 36 of file strut_style.cc.
References font_size.
| SKWASM_EXPORT void strutStyle_setFontStyle | ( | skia::textlayout::StrutStyle * | style, |
| int | weight, | ||
| SkFontStyle::Slant | slant | ||
| ) |
Definition at line 58 of file strut_style.cc.
| SKWASM_EXPORT void strutStyle_setForceStrutHeight | ( | skia::textlayout::StrutStyle * | style, |
| bool | force_strut_height | ||
| ) |
Definition at line 64 of file strut_style.cc.
| SKWASM_EXPORT void strutStyle_setHalfLeading | ( | skia::textlayout::StrutStyle * | style, |
| bool | half_leading | ||
| ) |
Definition at line 47 of file strut_style.cc.
| SKWASM_EXPORT void strutStyle_setHeight | ( | skia::textlayout::StrutStyle * | style, |
| SkScalar | height | ||
| ) |
Definition at line 41 of file strut_style.cc.
References height.
| SKWASM_EXPORT void strutStyle_setLeading | ( | skia::textlayout::StrutStyle * | style, |
| SkScalar | leading | ||
| ) |
Definition at line 53 of file strut_style.cc.