Home | History | Annotate | Download | only in ports

Lines Matching full:textmetric

150     TEXTMETRIC textMetric;
151 if (0 == GetTextMetrics(hdc, &textMetric)) {
152 textMetric.tmPitchAndFamily = TMPF_VECTOR;
154 GetTextMetrics(hdc, &textMetric);
157 if (!(textMetric.tmPitchAndFamily & TMPF_VECTOR)) {
158 return textMetric.tmLastChar;
186 TEXTMETRIC textMetric;
187 if (0 == GetTextMetrics(hdc, &textMetric)) {
188 textMetric.tmPitchAndFamily = TMPF_VECTOR;
190 GetTextMetrics(hdc, &textMetric);
193 if (!(textMetric.tmPitchAndFamily & TMPF_VECTOR)) {
194 return textMetric.tmMaxCharWidth;
221 TEXTMETRIC textMetric;
222 if (0 == GetTextMetrics(deviceContext, &textMetric)) {
224 if (0 == GetTextMetrics(deviceContext, &textMetric)) {
225 textMetric.tmPitchAndFamily = TMPF_TRUETYPE;
237 this->setIsFixedPitch((textMetric.tmPitchAndFamily & TMPF_FIXED_PITCH) == 0);
241 fCanBeLCD = !((textMetric.tmPitchAndFamily & TMPF_VECTOR) &&
242 (textMetric.tmPitchAndFamily & TMPF_DEVICE));
579 TEXTMETRIC fTM;
2070 TEXTMETRIC tm;
2367 static int CALLBACK enum_family_proc(const LOGFONT* lf, const TEXTMETRIC*,