Home
last modified time | relevance | path

Searched refs:lineGap (Results 1 – 25 of 27) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/
DFontMetrics.h68 void setLineGap(float lineGap) { m_lineGap = lineGap; } in setLineGap() argument
96 int lineGap() const { return lroundf(m_lineGap); } in lineGap() function
101 … return ascent() == other.ascent() && descent() == other.descent() && lineGap() == other.lineGap(); in hasIdenticalAscentDescentAndLineGap()
DSimpleFontData.cpp87 float lineGap = 0.1f * size; in SimpleFontData() local
100 m_fontMetrics.setLineGap(lineGap); in SimpleFontData()
101 m_fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap)); in SimpleFontData()
/external/webkit/Source/WebCore/platform/graphics/win/
DSimpleFontDataCairoWin.cpp68 float lineGap = textMetrics.tmExternalLeading * metricsMultiplier; in platformInit() local
71 m_fontMetrics.setLineGap(lineGap); in platformInit()
72 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); in platformInit()
DSimpleFontDataWin.cpp81 float lineGap = textMetrics.tmExternalLeading; in initGDIFont() local
84 m_fontMetrics.setLineGap(lineGap); in initGDIFont()
85 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); in initGDIFont()
DFontCGWin.cpp171 int lineGap = fontMetrics.lineGap(); in drawGDIGlyphs() local
173 point.y() - fontMetrics.ascent() - lineGap, in drawGDIGlyphs()
/external/webkit/Source/WebCore/platform/graphics/wince/
DSimpleFontDataWinCE.cpp54 float lineGap = (tm.tmExternalLeading * m_platformData.size() + 36) / 72.0f; in platformInit() local
57 m_fontMetrics.setLineGap(lineGap); in platformInit()
58 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); in platformInit()
/external/webkit/Source/WebCore/platform/graphics/qt/
DSimpleFontDataQt.cpp67 float lineGap = lineSpacing - ascent - descent; in platformInit() local
73 m_fontMetrics.setLineGap(lineGap); in platformInit()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DSimpleFontDataChromiumWin.cpp83 float lineGap = textMetric.tmExternalLeading; in platformInit() local
98 m_fontMetrics.setLineGap(lineGap); in platformInit()
100 m_fontMetrics.setLineSpacing(ascent + descent + lineGap); in platformInit()
DSimpleFontDataLinux.cpp111 float lineGap = SkScalarToFloat(metrics.fLeading); in platformInit() local
112 m_fontMetrics.setLineGap(lineGap); in platformInit()
114 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); in platformInit()
DFontChromiumWin.cpp251 m_point.y() - fontMetrics.ascent() - fontMetrics.lineGap(), in estimateTextBounds()
360 m_point.y() - fontMetrics.ascent() - fontMetrics.lineGap(), in estimateTextBounds()
/external/webkit/Source/WebCore/platform/graphics/mac/
DSimpleFontDataMac.mm234 float lineGap = scaleEmToUnits(iLineGap, unitsPerEm) * pointSize;
255 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
259 if (descent < 3 && lineGap >= 3 && [familyName hasPrefix:@"Hiragino"]) {
260 lineGap -= 3 - descent;
294 m_fontMetrics.setLineGap(lineGap);
/external/icu4c/samples/layout/
Dsfnt.h190 le_int16 lineGap; member
DGDIFontInstance.cpp282 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in GDIFontInstance()
/external/icu4c/test/letest/
DFontObject.h153 le_int16 lineGap; member
Dsfnt.h327 le_int16 lineGap; member
DPortableFontInstance.cpp151 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance()
/external/webkit/Source/WebCore/platform/mac/
DWebCoreSystemInterface.h175 extern void (*wkGetFontMetrics)(CGFontRef, int* ascent, int* descent, int* lineGap, unsigned* units…
DWebCoreSystemInterface.mm109 void (*wkGetFontMetrics)(CGFontRef, int* ascent, int* descent, int* lineGap, unsigned* unitsPerEm);
/external/webkit/WebKitLibraries/
DWebKitSystemInterface.h146 void WKGetFontMetrics(CGFontRef font, int *ascent, int *descent, int *lineGap, unsigned *unitsPerEm…
/external/opencv/cv/src/
Dcvhough.cpp485 int lineLength, int lineGap, in icvHoughLinesProbabalistic() argument
656 else if( ++gap > lineGap ) in icvHoughLinesProbabalistic()
/external/opencv/cv/include/
Dcvcompat.h517 int lineLength, int lineGap, in cvHoughLinesP() argument
522 rho, theta, threshold, lineLength, lineGap ); in cvHoughLinesP()
/external/webkit/Source/WebCore/html/canvas/
DCanvasRenderingContext2D.cpp1898 …cation.x() - fontMetrics.height() / 2, location.y() - fontMetrics.ascent() - fontMetrics.lineGap(), in drawTextInternal()
/external/webkit/Source/WebCore/
DChangeLog-2011-02-1619157 SimpleFontDataMac.mm contains a hack to modifiy lineGap/descent for the 'Hiragino' font.
19228 … Encapsulate ascent/descent/lineHeight/lineGap methods in a single FontMetrics class, instead of
19255 …* platform/graphics/Font.h: Remove ascent/descent/height/lineGap/lineSpacing/xHeight/unitsPerEm ac…
19280 (WebCore::FontMetrics::lineGap): Returns a rounded version of lineGap().
19286 …* platform/graphics/SimpleFontData.h: Remove ascent/descent/height/lineSpacing/lineGap/xHeight/uni…
DChangeLog-2006-05-101269 (WebCore::FontData::lineGap):
2214 (WebCore::WebTextRenderer::lineGap):
/external/webkit/Source/WebKit/mac/
DChangeLog-2006-02-093111 …Changed lineGap computation to use floats instead of doubles. Added code to compute a synthetic bo…

12