/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_txt/ |
H A D | text_line_base_test.cpp | 141 double leading = 0; in HWTEST_F() local 142 EXPECT_FLOAT_EQ(textLine_[0]->GetTypographicBounds(&ascent, &descent, &leading), 41.936081); in HWTEST_F() 145 EXPECT_FLOAT_EQ(leading, 0.000000); in HWTEST_F() 169 double leading = 0; in HWTEST_F() local 170 EXPECT_FLOAT_EQ(textLineBase->GetTypographicBounds(&ascent, &descent, &leading), 0.0); in HWTEST_F() 173 EXPECT_FLOAT_EQ(leading, 0.0); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | text_line_base_test.cpp | 138 double leading = 0; in HWTEST_F() local 139 EXPECT_FLOAT_EQ(textLine_[0]->GetTypographicBounds(&ascent, &descent, &leading), 49.377823); in HWTEST_F() 142 EXPECT_FLOAT_EQ(leading, 0.000000); in HWTEST_F() 163 double leading = 0; in HWTEST_F() local 164 EXPECT_FLOAT_EQ(textLineBase->GetTypographicBounds(&ascent, &descent, &leading), 0.0); in HWTEST_F() 167 EXPECT_FLOAT_EQ(leading, 0.0); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | run_impl.cpp | 119 float RunImpl::GetTypographicBounds(float* ascent, float* descent, float* leading) const in GetTypographicBounds() 121 if (ascent == nullptr || descent == nullptr || leading == nullptr) { in GetTypographicBounds() 126 *leading = 0.0; in GetTypographicBounds() 129 return run_->GetTypographicBounds(ascent, descent, leading); in GetTypographicBounds()
|
H A D | text_line_base.cpp | 86 double TextLineBaseImpl::GetTypographicBounds(double* ascent, double* descent, double* leading) const
in GetTypographicBounds() 91 return textlinebase_->GetTypographicBounds(ascent, descent, leading);
in GetTypographicBounds()
|
H A D | text_line_base.h | 39 double GetTypographicBounds(double* ascent, double* descent, double* leading) const override;
|
H A D | run_impl.h | 39 float GetTypographicBounds(float* ascent, float* descent, float* leading) const override;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | run_impl.cpp | 122 float RunImpl::GetTypographicBounds(float* ascent, float* descent, float* leading) const in GetTypographicBounds() 124 if (ascent == nullptr || descent == nullptr || leading == nullptr) { in GetTypographicBounds() 129 *leading = 0.0; in GetTypographicBounds() 132 return runBase_->getTypographicBounds(ascent, descent, leading); in GetTypographicBounds()
|
H A D | text_line_impl.cpp | 86 double TextLineImpl::GetTypographicBounds(double* ascent, double* descent, double* leading) const
in GetTypographicBounds() 92 return textLineBase_->getTypographicBounds(ascent, descent, leading);
in GetTypographicBounds()
|
H A D | text_line_impl.h | 46 double GetTypographicBounds(double* ascent, double* descent, double* leading) const override;
|
H A D | run_impl.h | 42 float GetTypographicBounds(float* ascent, float* descent, float* leading) const override;
|
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | scroll_motion.h | 27 ExtentPair(double leading, double trailing) : leading_(leading), trailing_(trailing) {} in ExtentPair() argument
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_text_run_test.cpp | 172 float leading = 0.0; in HWTEST_F() local 173 float width = OH_Drawing_GetRunTypographicBounds(run, &ascent, &descent, &leading); in HWTEST_F() 176 EXPECT_TRUE(leading >= 0); // The leading minimum is 0 in HWTEST_F() 270 float leading = 0.0; in HWTEST_F() local 271 float width = OH_Drawing_GetRunTypographicBounds(run, &ascent, &descent, &leading); in HWTEST_F() 274 EXPECT_TRUE(leading >= 0); // The leading minimum is 0 in HWTEST_F() 517 float leading = 0.0; in HWTEST_F() local 518 float width = OH_Drawing_GetRunTypographicBounds(nullptr, &ascent, &descent, &leading); in HWTEST_F() [all...] |
H A D | drawing_text_line_test.cpp | 416 double leading = 0.0; in HWTEST_F() local 421 double width = OH_Drawing_TextLineGetTypographicBounds(textLine, &ascent, &descent, &leading); in HWTEST_F() 424 EXPECT_EQ(leading, 0); in HWTEST_F() 448 double leading = 0.0; in HWTEST_F() local 453 double width = OH_Drawing_TextLineGetTypographicBounds(textLine, &ascent, &descent, &leading); in HWTEST_F() 456 EXPECT_EQ(leading, 0); in HWTEST_F() 481 double leading = 0.0; in HWTEST_F() local 486 double width = OH_Drawing_TextLineGetTypographicBounds(textLine, &ascent, &descent, &leading); in HWTEST_F() 489 EXPECT_EQ(leading, 0); in HWTEST_F() 520 double leading in HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_text_run.cpp | 95 float OH_Drawing_GetRunTypographicBounds(OH_Drawing_Run* run, float* ascent, float* descent, float* leading) in OH_Drawing_GetRunTypographicBounds() argument 97 if (ascent == nullptr || descent == nullptr || leading == nullptr) { in OH_Drawing_GetRunTypographicBounds() 102 *leading = 0; in OH_Drawing_GetRunTypographicBounds() 105 return reinterpret_cast<AdapterTxt::RunImpl*>(run)->GetTypographicBounds(ascent, descent, leading); in OH_Drawing_GetRunTypographicBounds()
|
H A D | drawing_text_line.cpp | 293 double* leading) in OH_Drawing_TextLineGetTypographicBounds() 295 if (line == nullptr || ascent == nullptr || descent == nullptr || leading == nullptr) { in OH_Drawing_TextLineGetTypographicBounds() 304 return lineImpl->GetTypographicBounds(ascent, descent, leading); in OH_Drawing_TextLineGetTypographicBounds() 292 OH_Drawing_TextLineGetTypographicBounds(OH_Drawing_TextLine* line, double* ascent, double* descent, double* leading) OH_Drawing_TextLineGetTypographicBounds() argument
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | text_line_base.h | 40 virtual double GetTypographicBounds(double* ascent, double* descent, double* leading) const = 0;
|
H A D | run.h | 39 virtual float GetTypographicBounds(float* ascent, float* descent, float* leading) const = 0;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | text_line_base.h | 43 virtual double GetTypographicBounds(double* ascent, double* descent, double* leading) const = 0;
|
H A D | run.h | 38 virtual float GetTypographicBounds(float* ascent, float* descent, float* leading) const = 0;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/ |
H A D | drawing_text_line.h | 182 * @param leading Indicates the pointer to the line Spacing. 188 double* leading);
|
H A D | drawing_text_run.h | 100 * @param leading The run of leading. 105 float OH_Drawing_GetRunTypographicBounds(OH_Drawing_Run* run, float* ascent, float* descent, float* leading);
|
H A D | drawing_font.h | 461 /** storage for leading in font metrics */ 462 float leading; member
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/run_napi/ |
H A D | js_run.cpp | 416 float leading = 0.0;
in OnGetTypographicBounds() local 417 float width = run_->GetTypographicBounds(&ascent, &descent, &leading);
in OnGetTypographicBounds() 418 return GetTypographicBoundsAndConvertToJsValue(env, ascent, descent, leading, width);
in OnGetTypographicBounds()
|
/foundation/graphic/graphic_3d/lume/LumeFont/api/ |
H A D | intf_font.h | 60 float leading; member
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/text_line_napi/ |
H A D | js_text_line.cpp | 351 double leading = 0.0; in OnGetTypographicBounds() local 352 double width = textLine_->GetTypographicBounds(&ascent, &descent, &leading); in OnGetTypographicBounds() 371 status = napi_set_named_property(env, objValue, "leading", CreateJsNumber(env, leading)); in OnGetTypographicBounds() 373 TEXT_LOGE("Failed to napi_set_named_property leading"); in OnGetTypographicBounds()
|