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

/macosx-10.10/WebCore-7600.1.25/platform/graphics/
H A DFontMetrics.h72 void setLineGap(float lineGap) { m_lineGap = lineGap; } argument
107 int lineGap() const { return lroundf(m_lineGap); } function in class:WebCore::FontMetrics
112 return ascent() == other.ascent() && descent() == other.descent() && lineGap() == other.lineGap();
/macosx-10.10/WebCore-7600.1.25/platform/graphics/ios/
H A DFontServicesIOS.mm68 CGFloat lineGap;
76 lineGap = CTFontGetLeading(font);
82 lineGap = (dyld_get_program_sdk_version() >= DYLD_IOS_VERSION_3_0) ? scaleEmToUnits(metrics->lineGap, unitsPerEm) * pointSize : 0.0;
99 m_lineGap = ceilf(lineGap);
H A DFontServicesIOS.h36 CGFloat lineGap() { return m_lineGap; } function in class:WebCore::FontServicesIOS
H A DSimpleFontDataIOS.mm78 float lineGap;
87 lineGap = fontService.lineGap();
99 lineGap = lroundf(scaleEmToUnits(CGFontGetLeading(cgFont), unitsPerEm) * pointSize);
102 lineSpacing = ascent + descent + lineGap;
109 m_fontMetrics.setLineGap(lineGap);
/macosx-10.10/WebCore-7600.1.25/platform/graphics/win/
H A DSimpleFontDataCairoWin.cpp78 float lineGap = textMetrics.tmExternalLeading * metricsMultiplier; local
89 m_fontMetrics.setLineGap(lineGap);
90 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
H A DSimpleFontDataWin.cpp91 float lineGap = textMetrics.tmExternalLeading; local
94 m_fontMetrics.setLineGap(lineGap);
95 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
/macosx-10.10/WebCore-7600.1.25/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));
/macosx-10.10/WebCore-7600.1.25/platform/graphics/freetype/
H A DSimpleFontDataFreeType.cpp66 float lineGap = narrowPrecisionToFloat(fontExtents.height - fontExtents.ascent - fontExtents.descent); local
72 m_fontMetrics.setLineSpacing(ascent + descent + lineGap);
75 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
77 m_fontMetrics.setLineGap(lineGap);
/macosx-10.10/WebCore-7600.1.25/platform/graphics/mac/
H A DSimpleFontDataMac.mm201 float lineGap = scaleEmToUnits(iLineGap, unitsPerEm) * pointSize;
213 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
217 if (descent < 3 && lineGap >= 3 && [familyName hasPrefix:@"Hiragino"]) {
218 lineGap -= 3 - descent;
242 m_fontMetrics.setLineGap(lineGap);
/macosx-10.10/WebCore-7600.1.25/svg/
H A DSVGFontData.cpp80 float lineGap = 0.1f * fontSize; local
94 fontMetrics.setLineGap(lineGap);
95 fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap));
/macosx-10.10/ICU-531.30/icuSources/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));
/macosx-10.10/ICU-531.30/icuSources/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.cpp168 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap));
/macosx-10.10/ICU-531.30/icuSources/test/perf/leperf/
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.cpp168 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap));
/macosx-10.10/WebCore-7600.1.25/platform/graphics/opentype/
H A DOpenTypeVerticalData.cpp58 OpenType::Int16 lineGap; member in struct:WebCore::OpenType::HheaTable
75 OpenType::Int16 lineGap; member in struct:WebCore::OpenType::VheaTable
/macosx-10.10/WebCore-7600.1.25/html/canvas/
H A DCanvasRenderingContext2D.cpp2300 FloatRect textRect = FloatRect(location.x() - fontMetrics.height() / 2, location.y() - fontMetrics.ascent() - fontMetrics.lineGap(),

Completed in 273 milliseconds