OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:textMetrics
(Results
1 - 2
of
2
) sorted by null
/external/webkit/Source/WebCore/platform/graphics/win/
SimpleFontDataCairoWin.cpp
63
TEXTMETRIC
textMetrics
;
64
GetTextMetrics(hdc, &
textMetrics
);
65
float ascent =
textMetrics
.tmAscent * metricsMultiplier;
66
float descent =
textMetrics
.tmDescent * metricsMultiplier;
68
float lineGap =
textMetrics
.tmExternalLeading * metricsMultiplier;
73
m_avgCharWidth =
textMetrics
.tmAveCharWidth * metricsMultiplier;
74
m_maxCharWidth =
textMetrics
.tmMaxCharWidth * metricsMultiplier;
SimpleFontDataWin.cpp
78
TEXTMETRIC&
textMetrics
= metrics.otmTextMetrics;
79
float ascent =
textMetrics
.tmAscent;
80
float descent =
textMetrics
.tmDescent;
81
float lineGap =
textMetrics
.tmExternalLeading;
86
m_avgCharWidth =
textMetrics
.tmAveCharWidth;
87
m_maxCharWidth =
textMetrics
.tmMaxCharWidth;
190
//
TEXTMETRICS
have this. Set m_treatAsFixedPitch based off that.
Completed in 1067 milliseconds