Searched refs:lineGap (Results 1 - 23 of 23) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
H A DFontMetrics.h68 void setLineGap(float lineGap) { m_lineGap = lineGap; } argument
96 int lineGap() const { return lroundf(m_lineGap); } function in class:WebCore::FontMetrics
101 return ascent() == other.ascent() && descent() == other.descent() && lineGap() == other.lineGap();
H A DSimpleFontData.cpp87 float lineGap = 0.1f * size; local
100 m_fontMetrics.setLineGap(lineGap);
101 m_fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap));
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
H A DFontDataAndroid.cpp59 float lineGap = SkScalarToFloat(skiaFontMetrics.fLeading); local
60 if (platformData().orientation() == Vertical && lineGap == 0) {
61 lineGap = skiaFontMetrics.fAvgCharWidth * 0.56f;
63 m_fontMetrics.setLineGap(lineGap);
64 m_fontMetrics.setLineSpacing(a + d + lineGap);
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DSimpleFontDataQt.cpp67 float lineGap = lineSpacing - ascent - descent; local
73 m_fontMetrics.setLineGap(lineGap);
/external/webkit/Source/WebCore/platform/graphics/win/
H A DSimpleFontDataCairoWin.cpp68 float lineGap = textMetrics.tmExternalLeading * metricsMultiplier; local
71 m_fontMetrics.setLineGap(lineGap);
72 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
H A DSimpleFontDataWin.cpp81 float lineGap = textMetrics.tmExternalLeading; local
84 m_fontMetrics.setLineGap(lineGap);
85 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
H A DFontCGWin.cpp171 int lineGap = fontMetrics.lineGap(); local
173 point.y() - fontMetrics.ascent() - lineGap,
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DSimpleFontDataChromiumWin.cpp80 // FIXME: Access ascent/descent/lineGap with floating point precision.
83 float lineGap = textMetric.tmExternalLeading; local
98 m_fontMetrics.setLineGap(lineGap);
100 m_fontMetrics.setLineSpacing(ascent + descent + lineGap);
H A DSimpleFontDataLinux.cpp111 float lineGap = SkScalarToFloat(metrics.fLeading); local
112 m_fontMetrics.setLineGap(lineGap);
114 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
H A DFontChromiumWin.cpp251 m_point.y() - fontMetrics.ascent() - fontMetrics.lineGap(),
360 m_point.y() - fontMetrics.ascent() - fontMetrics.lineGap(),
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DSimpleFontDataWinCE.cpp54 float lineGap = (tm.tmExternalLeading * m_platformData.size() + 36) / 72.0f; local
57 m_fontMetrics.setLineGap(lineGap);
58 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
/external/webkit/Source/WebCore/platform/graphics/mac/
H A 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/
H A Dsfnt.h190 le_int16 lineGap; member in struct:HHEATable
H A DGDIFontInstance.cpp282 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap));
/external/icu4c/test/letest/
H A DFontObject.h153 le_int16 lineGap; member in struct:HHEATable
H A Dsfnt.h327 le_int16 lineGap; member in struct:HHEATable
H A DPortableFontInstance.cpp151 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap));
/external/webkit/Source/WebCore/platform/mac/
H A DWebCoreSystemInterface.mm109 void (*wkGetFontMetrics)(CGFontRef, int* ascent, int* descent, int* lineGap, unsigned* unitsPerEm);
H A DWebCoreSystemInterface.h175 extern void (*wkGetFontMetrics)(CGFontRef, int* ascent, int* descent, int* lineGap, unsigned* unitsPerEm);
/external/webkit/WebKitLibraries/
H A DWebKitSystemInterface.h146 void WKGetFontMetrics(CGFontRef font, int *ascent, int *descent, int *lineGap, unsigned *unitsPerEm);
/external/opencv/cv/include/
H A Dcvcompat.h517 int lineLength, int lineGap,
522 rho, theta, threshold, lineLength, lineGap );
515 cvHoughLinesP( CvArr* image, double rho, double theta, int threshold, int lineLength, int lineGap, int* lines, int linesNumber ) argument
/external/opencv/cv/src/
H A Dcvhough.cpp485 int lineLength, int lineGap,
656 else if( ++gap > lineGap )
483 icvHoughLinesProbabalistic( CvMat* image, float rho, float theta, int threshold, int lineLength, int lineGap, CvSeq *lines, int linesMax ) argument
/external/webkit/Source/WebCore/html/canvas/
H A DCanvasRenderingContext2D.cpp1898 FloatRect textRect = FloatRect(location.x() - fontMetrics.height() / 2, location.y() - fontMetrics.ascent() - fontMetrics.lineGap(),

Completed in 326 milliseconds