Home
last modified time | relevance | path

Searched refs:TextRect (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/
H A Dtypography.h76 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 Dtypography.h49 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 Dtesting_typography_properties.h79 struct TextRect { struct
82 TextRect() = default; argument
83TextRect(TestingRect testRect, TextDirection testDirection) : direction(testDirection), rect(testR… in TextRect() argument
H A Dtesting_typography.h90 …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 Dtypography.cpp32 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 Dtypography.h55 std::vector<TextRect> GetTextRectsByBoundary(size_t left, size_t right,
57 std::vector<TextRect> GetTextRectsOfPlaceholders() override;
H A Dconvert.h40 DEFINE_CONVERT_FUNC(SPText::TextBox, TextRect);
H A Dconvert.cpp42 TextRect Convert(const SPText::TextBox& box) in Convert()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_text_typography.cpp680 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 Dconvert_test.cpp76 TextRect textRect = AdapterTxt::Convert(box);
H A Dtypography_test.cpp146 std::vector<TextRect> vectorTextRect = typography->GetTextRectsByBoundary(
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Ddrawing_mock.h135 using RSTextRect = Testing::TestingTypographyProperties::TextRect;
H A Ddrawing.h181 using RSTextRect = Rosen::TextRect;
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/paragraph_napi/
H A Djs_paragraph.cpp398 …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 Dnapi_common.h409 inline napi_value CreateTextRectJsValue(napi_env env, TextRect textrect) in CreateTextRectJsValue()