Home
last modified time | relevance | path

Searched refs:fAscent (Results 1 – 25 of 33) sorted by relevance

12

/external/webkit/WebCore/platform/graphics/win/
DSimpleFontDataCGWin.cpp69 float fAscent = scaleEmToUnits(iAscent, m_unitsPerEm) * pointSize; in platformInit() local
92 fAscent += floorf(((fAscent + fDescent) * 0.15f) + 0.5f); in platformInit()
96 m_ascent = lroundf(fAscent); in platformInit()
/external/icu4c/samples/layout/
DFontMap.cpp23 …: fPointSize(pointSize), fFontCount(0), fAscent(0), fDescent(0), fLeading(0), fGUISupport(guiSuppo… in FontMap()
231 if (fAscent <= 0) { in getAscent()
235 return fAscent; in getAscent()
274 if (ascent > fAscent) { in getMaxMetrics()
275 fAscent = ascent; in getMaxMetrics()
Dpflow.c56 le_int32 fAscent; member
135 flow->fAscent = -1; in pf_create()
214 flow->fAscent = ascent; in pf_create()
249 return obj->fAscent; in pf_getAscent()
321 y = obj->fAscent; in pf_draw()
Dparagraph.h65 le_int32 fAscent; variable
83 return fAscent; in getAscent()
DGnomeFontInstance.cpp50 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GnomeFontInstance()
76 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance()
78 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
DGnomeFontInstance.h58 le_int32 fAscent; variable
128 return fAscent; in getAscent()
DGDIFontInstance.h59 le_int32 fAscent; variable
118 return fAscent; in getAscent()
DGDIFontInstance.cpp106 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
171 fAscent = otm.otmTextMetrics.tmAscent; in GDIFontInstance()
191 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
259 fAscent = otm.otmTextMetrics.tmAscent; in GDIFontInstance()
Dparagraph.cpp79 fLineHeight(-1), fAscent(-1), fWidth(-1), fHeight(-1), fParagraphLevel(UBIDI_DEFAULT_LTR) in Paragraph()
157 fAscent = ascent; in Paragraph()
221 y = fAscent; in draw()
DSurface.cpp27 ExtTextOut(fHdc, x, y - fAscent, ETO_CLIPPED | ETO_GLYPH_INDEX, &clip, in drawGlyphs()
DFontMap.h49 le_int32 fAscent; variable
/external/icu4c/test/letest/
DSimpleFontInstance.cpp24 : fPointSize(pointSize), fAscent(0), fDescent(0) in SimpleFontInstance()
30 fAscent = (le_int32) yUnitsToPoints(2000.0); in SimpleFontInstance()
76 return fAscent; in getAscent()
DPortableFontInstance.cpp68 …: fFile(NULL), fPointSize(pointSize), fUnitsPerEM(0), fFontChecksum(0), fAscent(0), fDescent(0), f… in PortableFontInstance()
149 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in PortableFontInstance()
350 return fAscent; in getAscent()
DSimpleFontInstance.h26 le_int32 fAscent; variable
DPortableFontInstance.h36 le_int32 fAscent; variable
/external/icu4c/layoutex/
DParagraphLayout.cpp290 fAscent(0), fDescent(0), fLeading(0), in ParagraphLayout()
533 if (fAscent <= 0 && fCharCount > 0) { in getAscent()
537 return fAscent; in getAscent()
542 if (fAscent <= 0 && fCharCount > 0) { in getDescent()
551 if (fAscent <= 0 && fCharCount > 0) { in getLeading()
729 if (ascent > fAscent) { in computeMetrics()
730 fAscent = ascent; in computeMetrics()
1025 if (fAscent <= 0) { in getAscent()
1029 return fAscent; in getAscent()
1034 if (fAscent <= 0) { in getDescent()
[all …]
/external/icu4c/layoutex/layout/
DParagraphLayout.h164 le_int32 fAscent; variable
600 le_int32 fAscent; variable
644 : UObject(), fAscent(0), fDescent(0), fLeading(0), fRunCount(0), fRunCapacity(0), fRuns(NULL) in Line()
650 : UObject(), fAscent(0), fDescent(0), fLeading(0), fRunCount(0), fRunCapacity(0), fRuns(NULL) in Line()
/external/webkit/WebCore/platform/graphics/android/
DFontDataAndroid.cpp57 int s = SkScalarRound(metrics.fDescent - metrics.fAscent); in platformInit()
62 m_xHeight = SkScalarToFloat(-metrics.fAscent) * 0.56f; // hack I stole from the window's port in platformInit()
/external/webkit/WebCore/platform/graphics/chromium/
DSimpleFontDataLinux.cpp84 SkScalar height = -metrics.fAscent + metrics.fDescent + metrics.fLeading; in platformInit()
85 m_ascent = SkScalarRound(-metrics.fAscent); in platformInit()
DHarfbuzzSkia.cpp213 return SkiaScalarToHarfbuzzFixed(-skiaMetrics.fAscent); in getFontMetric()
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
Dfontprops.cpp72 float fAscent = scaleEmToUnits(iAscent, unitsPerEm) * pointSize; in wxFontProperties() local
76 m_ascent = lroundf(fAscent); in wxFontProperties()
/external/skia/src/views/
DSkTextBox.cpp200 y += fBox.fTop - metrics.fAscent; in draw()
212 if (y + metrics.fAscent >= height) in draw()
/external/webkit/WebKit/android/plugins/
DANPPaintInterface.cpp166 metrics->fAscent = SkScalarToFloat(fm.fAscent); in anp_getFontMetrics()
/external/webkit/WebKit/android/nav/
DFindCanvas.cpp146 rect.fTop = baseline + fontMetrics.fAscent; in addMatchNormal()
177 bounds.fTop = baseline + fontMetrics.fAscent; in addMatchPos()
209 r.fTop = constY + fontMetrics.fAscent; in addMatchPosH()
/external/webkit/WebCore/platform/graphics/mac/
DSimpleFontDataMac.mm230 float fAscent = scaleEmToUnits(iAscent, m_unitsPerEm) * pointSize;
241 fAscent += floorf(((fAscent + fDescent) * 0.15f) + 0.5f);
246 fAscent *= 1.08f;
250 m_ascent = lroundf(fAscent);

12