Lines Matching refs:metrics
233 static void SetMetrics(Font::Rect *metrics,
236 *left = metrics->left;
239 *right = metrics->right;
242 *top = metrics->top;
245 *bottom = metrics->bottom;
254 Font::Rect metrics;
255 rsc->mStateFont.measureText(text, textLen, &metrics);
256 SetMetrics(&metrics, left, right, top, bottom);
263 Font::Rect metrics;
264 rsc->mStateFont.measureText(text, textLen, &metrics);
265 SetMetrics(&metrics, left, right, top, bottom);