#include "third_party/skia/modules/skparagraph/include/Paragraph.h"#include "flutter/skwasm/export.h"#include "flutter/skwasm/live_objects.h"#include "flutter/skwasm/text/text_types.h"#include "third_party/skia/include/core/SkScalar.h"#include "third_party/skia/modules/skparagraph/include/DartTypes.h"#include "third_party/skia/modules/skparagraph/include/TextStyle.h"Go to the source code of this file.
Classes | |
| struct | TextBoxList |
| SKWASM_EXPORT void paragraph_dispose | ( | Skwasm::Paragraph * | paragraph | ) |
Definition at line 13 of file paragraph.cc.
References Skwasm::live_paragraph_count.
| SKWASM_EXPORT SkScalar paragraph_getAlphabeticBaseline | ( | Skwasm::Paragraph * | paragraph | ) |
Definition at line 41 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT TextBoxList * paragraph_getBoxesForPlaceholders | ( | Skwasm::Paragraph * | paragraph | ) |
Definition at line 181 of file paragraph.cc.
References Skwasm::live_text_box_list_count, and Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT TextBoxList * paragraph_getBoxesForRange | ( | Skwasm::Paragraph * | paragraph, |
| int | start, | ||
| int | end, | ||
| skia::textlayout::RectHeightStyle | height_style, | ||
| skia::textlayout::RectWidthStyle | width_style | ||
| ) |
Definition at line 170 of file paragraph.cc.
References end, Skwasm::live_text_box_list_count, Skwasm::Paragraph::skia_paragraph, and start.
| SKWASM_EXPORT bool paragraph_getClosestGlyphInfoAtCoordinate | ( | Skwasm::Paragraph * | paragraph, |
| SkScalar | offset_x, | ||
| SkScalar | offset_y, | ||
| SkRect * | grapheme_layout_bounds, | ||
| size_t * | grapheme_code_unit_range, | ||
| bool * | boolean_flags | ||
| ) |
Definition at line 73 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT bool paragraph_getDidExceedMaxLines | ( | Skwasm::Paragraph * | paragraph | ) |
Definition at line 50 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT bool paragraph_getGlyphInfoAt | ( | Skwasm::Paragraph * | paragraph, |
| size_t | index, | ||
| SkRect * | grapheme_layout_bounds, | ||
| size_t * | grapheme_code_unit_range, | ||
| bool * | boolean_flags | ||
| ) |
Definition at line 97 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT SkScalar paragraph_getHeight | ( | Skwasm::Paragraph * | paragraph | ) |
Definition at line 22 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT SkScalar paragraph_getIdeographicBaseline | ( | Skwasm::Paragraph * | paragraph | ) |
Definition at line 46 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT size_t paragraph_getLineCount | ( | Skwasm::Paragraph * | paragraph | ) |
Definition at line 128 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT skia::textlayout::LineMetrics * paragraph_getLineMetricsAtIndex | ( | Skwasm::Paragraph * | paragraph, |
| size_t | line_number | ||
| ) |
Definition at line 137 of file paragraph.cc.
References Skwasm::live_line_metrics_count, and Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT int paragraph_getLineNumberAt | ( | Skwasm::Paragraph * | paragraph, |
| size_t | character_index | ||
| ) |
Definition at line 132 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT SkScalar paragraph_getLongestLine | ( | Skwasm::Paragraph * | paragraph | ) |
Definition at line 26 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT SkScalar paragraph_getMaxIntrinsicWidth | ( | Skwasm::Paragraph * | paragraph | ) |
Definition at line 36 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT SkScalar paragraph_getMinIntrinsicWidth | ( | Skwasm::Paragraph * | paragraph | ) |
Definition at line 31 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT int32_t paragraph_getPositionForOffset | ( | Skwasm::Paragraph * | paragraph, |
| SkScalar | offset_x, | ||
| SkScalar | offset_y, | ||
| skia::textlayout::Affinity * | out_affinity | ||
| ) |
Definition at line 61 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT int paragraph_getUnresolvedCodePoints | ( | Skwasm::Paragraph * | paragraph, |
| SkUnichar * | out_code_points, | ||
| int | out_length | ||
| ) |
Definition at line 194 of file paragraph.cc.
References character, and Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT SkScalar paragraph_getWidth | ( | Skwasm::Paragraph * | paragraph | ) |
Definition at line 18 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT void paragraph_getWordBoundary | ( | Skwasm::Paragraph * | paragraph, |
| unsigned int | position, | ||
| int32_t * | out_range | ||
| ) |
Definition at line 118 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph.
| SKWASM_EXPORT void paragraph_layout | ( | Skwasm::Paragraph * | paragraph, |
| SkScalar | width | ||
| ) |
Definition at line 55 of file paragraph.cc.
References Skwasm::Paragraph::skia_paragraph, and width.
| SKWASM_EXPORT void textBoxList_dispose | ( | TextBoxList * | list | ) |
Definition at line 154 of file paragraph.cc.
References Skwasm::live_text_box_list_count.
| SKWASM_EXPORT skia::textlayout::TextDirection textBoxList_getBoxAtIndex | ( | TextBoxList * | list, |
| size_t | index, | ||
| SkRect * | out_rect | ||
| ) |
Definition at line 164 of file paragraph.cc.
References TextBoxList::boxes.
| SKWASM_EXPORT size_t textBoxList_getLength | ( | TextBoxList * | list | ) |
Definition at line 159 of file paragraph.cc.
References TextBoxList::boxes.