Lines Matching refs:text_height
253 int text_width = 0, text_height = 0;
254 dc.GetTextExtent(wxT("ABCDHgj"), &text_width, &text_height);
263 text_y = rect.y + (rect.height-text_height)/2;
275 int text_width = 0, text_height = 0;
283 dc.GetTextExtent(wxT("ABCDHgj"), &tx, &text_height);
298 ((rect.height-text_height)/2) -
302 text_y = rect.y + rect.height - text_height - 1;
315 (text_height/2);
378 int text_width = 0, text_height = 0, text_x = 0, text_y = 0;
397 dc.GetTextExtent(wxT("ABCDHgj"), &tx, &text_height);
420 ((button_rect.height-text_height)/2) -
424 text_y = rect.y + rect.height - text_height - 1;
437 (text_height/2);
500 int text_width = 0, text_height = 0;
507 dc.GetTextExtent(wxT("ABCDHgj"), &tx, &text_height);
521 text_y = rect.y + rect.height - text_height - 1;
2008 int text_width = 0, text_height = 0;
2013 dc.GetTextExtent(wxT("ABCDHgj"), &tx, &text_height);
2018 return wxSize(text_width, text_height);