OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:textMetric
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
SimpleFontDataWin.cpp
61
TEXTMETRIC
textMetric
= {0};
62
if (!GetTextMetrics(dc, &
textMetric
)) {
67
if (!GetTextMetrics(dc, &
textMetric
))
72
m_avgCharWidth =
textMetric
.tmAveCharWidth;
73
m_maxCharWidth =
textMetric
.tmMaxCharWidth;
76
float ascent =
textMetric
.tmAscent;
77
float descent =
textMetric
.tmDescent;
78
float lineGap =
textMetric
.tmExternalLeading;
FontPlatformDataWin.cpp
350
TEXTMETRIC
textMetric
= { 0 };
351
if (!GetTextMetrics(dc, &
textMetric
)) {
356
if (!GetTextMetrics(dc, &
textMetric
))
361
bool treatAsFixedPitch = !(
textMetric
.tmPitchAndFamily & TMPF_FIXED_PITCH);
/external/chromium_org/third_party/skia/src/ports/
SkFontHost_win.cpp
156
TEXTMETRIC
textMetric
;
157
if (0 == GetTextMetrics(hdc, &
textMetric
)) {
158
textMetric
.tmPitchAndFamily = TMPF_VECTOR;
160
GetTextMetrics(hdc, &
textMetric
);
163
if (!(
textMetric
.tmPitchAndFamily & TMPF_VECTOR)) {
164
return
textMetric
.tmLastChar;
192
TEXTMETRIC
textMetric
;
193
if (0 == GetTextMetrics(hdc, &
textMetric
)) {
[
all
...]
/external/skia/src/ports/
SkFontHost_win.cpp
156
TEXTMETRIC
textMetric
;
157
if (0 == GetTextMetrics(hdc, &
textMetric
)) {
158
textMetric
.tmPitchAndFamily = TMPF_VECTOR;
160
GetTextMetrics(hdc, &
textMetric
);
163
if (!(
textMetric
.tmPitchAndFamily & TMPF_VECTOR)) {
164
return
textMetric
.tmLastChar;
192
TEXTMETRIC
textMetric
;
193
if (0 == GetTextMetrics(hdc, &
textMetric
)) {
[
all
...]
Completed in 1017 milliseconds