/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_txt/ |
H A D | text_line_base_test.cpp | 139 double ascent = 0; in HWTEST_F() local 142 EXPECT_FLOAT_EQ(textLine_[0]->GetTypographicBounds(&ascent, &descent, &leading), 41.936081); in HWTEST_F() 143 EXPECT_FLOAT_EQ(ascent, 14.848000); in HWTEST_F() 167 double ascent = 0; in HWTEST_F() local 170 EXPECT_FLOAT_EQ(textLineBase->GetTypographicBounds(&ascent, &descent, &leading), 0.0); in HWTEST_F() 171 EXPECT_FLOAT_EQ(ascent, 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 | 136 double ascent = 0; in HWTEST_F() local 139 EXPECT_FLOAT_EQ(textLine_[0]->GetTypographicBounds(&ascent, &descent, &leading), 49.377823); in HWTEST_F() 140 EXPECT_FLOAT_EQ(ascent, 12.992); in HWTEST_F() 161 double ascent = 0; in HWTEST_F() local 164 EXPECT_FLOAT_EQ(textLineBase->GetTypographicBounds(&ascent, &descent, &leading), 0.0); in HWTEST_F() 165 EXPECT_FLOAT_EQ(ascent, 0.0); in HWTEST_F()
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
H A D | view-cairo.hh | 110 font_extents.ascent = scalbn ((double) hb_extents.ascender, scale_bits); in render() 116 double ascent = y_sign * font_extents.ascent; in render() local 119 double leading = ascent + descent + line_gap; in render() 154 w - ascent, /* We currently always stack lines right to left */ in render() 160 y_sign < 0 ? descent : ascent); in render()
|
H A D | view-options.hh | 52 double ascent, descent, line_gap; member 68 switch (sscanf (arg, "%lf%*[ ,]%lf%*[ ,]%lf", &e.ascent, &e.descent, &e.line_gap)) { in parse_font_extents() 112 {"font-extents", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_font_extents, "Set font ascent/descent/line-gap (default: auto)","one to three numbers"}, in add_options()
|
/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() argument 121 if (ascent == nullptr || descent == nullptr || leading == nullptr) { in GetTypographicBounds() 124 *ascent = 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() argument 91 return textlinebase_->GetTypographicBounds(ascent, descent, leading);
in GetTypographicBounds()
|
/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() argument 124 if (ascent == nullptr || descent == nullptr || leading == nullptr) { in GetTypographicBounds() 127 *ascent = 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() argument 92 return textLineBase_->getTypographicBounds(ascent, descent, leading);
in GetTypographicBounds()
|
/third_party/skia/modules/skottie/src/text/ |
H A D | SkottieShaper.cpp | 147 const auto ascent = this->ascent(); in finalize() local 163 // the first line top (ascent) to the last line bottom (descent). in finalize() 164 const auto typographical_top = fBox.fTop + ascent, in finalize() 182 v_offset -= ascent; in finalize() 234 const auto max_offset = fBox.height() + this->ascent(); // NB: ascent is negative in shapeLine() 266 float ascent = 0; in commitFragementedRun() local 271 ascent = metrics.fAscent; in commitFragementedRun() 296 advance, ascent, in commitFragementedRun() 328 SkScalar ascent() const { ascent() function in skottie::__anon18587::final [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_text_run_test.cpp | 170 float ascent = 0.0; in HWTEST_F() local 173 float width = OH_Drawing_GetRunTypographicBounds(run, &ascent, &descent, &leading); in HWTEST_F() 174 EXPECT_TRUE(ascent > 0); in HWTEST_F() 268 float ascent = 0.0; in HWTEST_F() local 271 float width = OH_Drawing_GetRunTypographicBounds(run, &ascent, &descent, &leading); in HWTEST_F() 272 EXPECT_TRUE(ascent > 0); in HWTEST_F() 515 float ascent = 0.0; in HWTEST_F() local 518 float width = OH_Drawing_GetRunTypographicBounds(nullptr, &ascent, &descent, &leading); in HWTEST_F() 519 EXPECT_EQ(ascent, 0.0); in HWTEST_F()
|
H A D | drawing_text_line_test.cpp | 414 double ascent = 0.0; in HWTEST_F() local 421 double width = OH_Drawing_TextLineGetTypographicBounds(textLine, &ascent, &descent, &leading); in HWTEST_F() 422 EXPECT_GT(ascent, 0); in HWTEST_F() 446 double ascent = 0.0; in HWTEST_F() local 453 double width = OH_Drawing_TextLineGetTypographicBounds(textLine, &ascent, &descent, &leading); in HWTEST_F() 454 EXPECT_GT(ascent, 0); in HWTEST_F() 479 double ascent = 0.0; in HWTEST_F() local 486 double width = OH_Drawing_TextLineGetTypographicBounds(textLine, &ascent, &descent, &leading); in HWTEST_F() 487 EXPECT_GT(ascent, 0); in HWTEST_F() 510 double ascent in HWTEST_F() local [all...] |
/third_party/icu/icu4c/source/samples/layout/ |
H A D | FontMap.cpp | 264 le_int32 ascent, descent, leading; in getMaxMetrics() local 274 ascent = fFontInstances[i]->getAscent(); in getMaxMetrics() 278 if (ascent > fAscent) { in getMaxMetrics() 279 fAscent = ascent; in getMaxMetrics()
|
H A D | pflow.c | 116 le_int32 ascent = 0; in pf_create() local 191 if (pAscent > ascent) { in pf_create() 192 ascent = pAscent; in pf_create() 218 flow->fLineHeight = ascent + descent + leading; in pf_create() 219 flow->fAscent = ascent; in pf_create()
|
H A D | paragraph.cpp | 93 le_int32 ascent = 0; in Paragraph() local 136 if (pAscent > ascent) { in Paragraph() 137 ascent = pAscent; in Paragraph() 163 fLineHeight = ascent + descent + leading; in Paragraph() 164 fAscent = ascent; in Paragraph()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
H A D | FontMap.cpp | 264 le_int32 ascent, descent, leading; in getMaxMetrics() local 274 ascent = fFontInstances[i]->getAscent(); in getMaxMetrics() 278 if (ascent > fAscent) { in getMaxMetrics() 279 fAscent = ascent; in getMaxMetrics()
|
H A D | paragraph.cpp | 93 le_int32 ascent = 0; in Paragraph() local 136 if (pAscent > ascent) { in Paragraph() 137 ascent = pAscent; in Paragraph() 163 fLineHeight = ascent + descent + leading; in Paragraph() 164 fAscent = ascent; in Paragraph()
|
H A D | pflow.c | 114 le_int32 ascent = 0; in pf_create() local 189 if (pAscent > ascent) { in pf_create() 190 ascent = pAscent; in pf_create() 216 flow->fLineHeight = ascent + descent + leading; in pf_create() 217 flow->fAscent = ascent; in pf_create()
|
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
H A D | glx_usefont.c | 52 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); in dump_char_struct() 58 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); in dump_font_struct() 242 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in glXUseXFont() 324 height = ch->ascent + ch->descent; in glXUseXFont() 333 y = ch->ascent; in glXUseXFont()
|
/third_party/mesa3d/src/glx/ |
H A D | xfont.c | 56 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); in dump_char_struct() 62 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); in dump_font_struct() 244 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in DRI_glXUseXFont() 325 height = ch->ascent + ch->descent; in DRI_glXUseXFont() 333 y = ch->ascent; in DRI_glXUseXFont()
|
/third_party/skia/modules/skparagraph/src/ |
H A D | TextLineBaseImpl.cpp | 74 double TextLineBaseImpl::getTypographicBounds(double* ascent, double* descent, double* leading) const in getTypographicBounds() argument 80 return fVisitorTextLine->getTypographicBounds(ascent, descent, leading); in getTypographicBounds()
|
H A D | RunBaseImpl.cpp | 323 float RunBaseImpl::getTypographicBounds(float* ascent, float* descent, float* leading) const in getTypographicBounds() argument 325 if (ascent == nullptr || descent == nullptr || leading == nullptr) { in getTypographicBounds() 329 *ascent = 0.0; in getTypographicBounds() 334 *ascent = std::abs(fVisitorRun->ascent()); in getTypographicBounds()
|
H A D | Run.h | 116 SkScalar ascent() const { return fFontMetrics.fAscent + fBaselineShift; } in ascent() function in skia::textlayout::Run 163 auto ascent = ascentStyle == LineMetricStyle::Typographic ? this->ascent() in calculateHeight() local 167 return descent - ascent; in calculateHeight() 542 fRawAscent = std::min(fRawAscent, run->ascent()); in InternalLineMetrics() 595 (ascentStyle == LineMetricStyle::Typographic ? run->ascent() : run->correctAscent()) + delta(); in InternalLineMetrics() 617 SkScalar ascent() const { return fAscent; } in InternalLineMetrics() function
|
/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() 100 *ascent = 0; in OH_Drawing_GetRunTypographicBounds() 105 return reinterpret_cast<AdapterTxt::RunImpl*>(run)->GetTypographicBounds(ascent, descent, leading); in OH_Drawing_GetRunTypographicBounds()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
H A D | HolidayBorderPanel.java | 419 int ascent = fm.getAscent(); in paint() 430 if (ascent > thickness) in paint() 431 adjustment = (ascent - thickness) / 2; in paint() 480 g.drawString(text, offset, ascent); in paint()
|
/third_party/skia/third_party/externals/freetype/src/pcf/ |
H A D | pcf.h | 87 FT_Byte ascent; member 98 FT_Short ascent; member
|