Searched refs:textWidth (Results 1 – 4 of 4) sorted by relevance
88 SkScalar textWidth = paint.measureText(name, strlen(name)); in onDraw() local89 if (textWidth > width) { in onDraw()90 width = textWidth; in onDraw()101 SkScalar textWidth = paint.measureText(name, strlen(name)); in onDraw() local102 SkScalar x = (width - textWidth) / SkScalar(2); in onDraw()
82 const SkScalar textWidth = paint.measureText(text, len); in recordCanvas() local84 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) { in recordCanvas()107 const SkScalar textWidth = paint.measureText(text, len); in recordCanvas() local112 for (SkScalar x = 0; x < fPictureWidth; x += textWidth) { in recordCanvas()
46 double textWidth(void) const;
44 double Magick::TypeMetric::textWidth(void) const in textWidth() function in Magick::TypeMetric