/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/ |
H A D | typography.h | 76 struct TextRect { struct 184 virtual std::vector<TextRect> GetTextRectsByBoundary(Boundary boundary, 191 virtual std::vector<TextRect> GetTextRectsOfPlaceholders() const = 0;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | typography.h | 49 struct RS_EXPORT TextRect { struct 52 TextRect(Drawing::RectF rec, TextDirection dir); argument 142 virtual std::vector<TextRect> GetTextRectsByBoundary(size_t left, size_t right, 144 virtual std::vector<TextRect> GetTextRectsOfPlaceholders() = 0;
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_typography_properties.h | 79 struct TextRect { struct 82 TextRect() = default; argument 83 …TextRect(TestingRect testRect, TextDirection testDirection) : direction(testDirection), rect(testR… in TextRect() argument
|
H A D | testing_typography.h | 90 …virtual std::vector<TestingTypographyProperties::TextRect> GetTextRectsByBoundary(size_t /* start … in GetRectsForRange()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | typography.cpp | 32 TextRect::TextRect(Drawing::RectF rec, TextDirection dir) in TextRect() function in OHOS::Rosen::TextRect 204 std::vector<TextRect> Typography::GetTextRectsByBoundary(size_t left, size_t right, in GetTextRectsByBoundary() 212 std::vector<TextRect> boxes; in GetTextRectsByBoundary() 219 std::vector<TextRect> Typography::GetTextRectsOfPlaceholders() in GetTextRectsOfPlaceholders() 224 std::vector<TextRect> boxes; in GetTextRectsOfPlaceholders()
|
H A D | typography.h | 55 std::vector<TextRect> GetTextRectsByBoundary(size_t left, size_t right, 57 std::vector<TextRect> GetTextRectsOfPlaceholders() override;
|
H A D | convert.h | 40 DEFINE_CONVERT_FUNC(SPText::TextBox, TextRect);
|
H A D | convert.cpp | 42 TextRect Convert(const SPText::TextBox& box) in Convert()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_text_typography.cpp | 680 std::vector<TextRect>* originalVector = new (std::nothrow) std::vector<TextRect>; in OH_Drawing_TypographyGetRectsForRange() 705 std::vector<TextRect>* originalVector = new (std::nothrow) std::vector<TextRect>; in OH_Drawing_TypographyGetRectsForPlaceholders() 728 std::vector<TextRect>* textboxVector = ConvertToOriginalText<std::vector<TextRect>>(textbox); in OH_Drawing_GetLeftFromTextBox() 751 std::vector<TextRect>* textboxVector = ConvertToOriginalText<std::vector<TextRect>>(textbox); in OH_Drawing_GetRightFromTextBox() 774 std::vector<TextRect>* textboxVector = ConvertToOriginalText<std::vector<TextRect>>(textbox); in OH_Drawing_GetTopFromTextBox() 797 std::vector<TextRect>* textboxVector = ConvertToOriginalText<std::vector<TextRect>>(textbox); in OH_Drawing_GetBottomFromTextBox() 831 std::vector<TextRect>* textboxVector = ConvertToOriginalText<std::vector<TextRect>>(textbox); in OH_Drawing_GetTextDirectionFromTextBox() 861 std::vector<TextRect>* textboxVector = ConvertToOriginalText<std::vector<TextRect>>(textbox); in OH_Drawing_GetSizeOfTextBox() 3730 std::vector<TextRect>* textRectArr = ConvertToOriginalText<std::vector<TextRect>>(textBox); in OH_Drawing_TypographyDestroyTextBox()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | convert_test.cpp | 76 TextRect textRect = AdapterTxt::Convert(box);
|
H A D | typography_test.cpp | 146 std::vector<TextRect> vectorTextRect = typography->GetTextRectsByBoundary(
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | drawing_mock.h | 135 using RSTextRect = Testing::TestingTypographyProperties::TextRect;
|
H A D | drawing.h | 181 using RSTextRect = Rosen::TextRect;
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/paragraph_napi/ |
H A D | js_paragraph.cpp | 398 …std::vector<TextRect> rectsForRange = paragraph_->GetTextRectsByBoundary(start, end, hstyle, wstyl… in OnGetRectsForRange() 421 std::vector<TextRect> rectsForPlaceholders = paragraph_->GetTextRectsOfPlaceholders(); in OnGetRectsForPlaceholders()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_common.h | 409 inline napi_value CreateTextRectJsValue(napi_env env, TextRect textrect) in CreateTextRectJsValue()
|