Home | History | Annotate | Download | only in ports

Lines Matching refs:textMetric

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)) {
194 textMetric.tmPitchAndFamily = TMPF_VECTOR;
196 GetTextMetrics(hdc, &textMetric);
199 if (!(textMetric.tmPitchAndFamily & TMPF_VECTOR)) {
200 return textMetric.tmMaxCharWidth;
224 TEXTMETRIC textMetric;
225 if (0 == GetTextMetrics(deviceContext, &textMetric)) {
227 if (0 == GetTextMetrics(deviceContext, &textMetric)) {
228 textMetric.tmPitchAndFamily = TMPF_TRUETYPE;
240 this->setIsFixedPitch((textMetric.tmPitchAndFamily & TMPF_FIXED_PITCH) == 0);
244 fCanBeLCD = !((textMetric.tmPitchAndFamily & TMPF_VECTOR) &&
245 (textMetric.tmPitchAndFamily & TMPF_DEVICE));
588 TEXTMETRIC fTM;
2163 TEXTMETRIC tm;
2460 static int CALLBACK enum_family_proc(const LOGFONT* lf, const TEXTMETRIC*,