Lines Matching refs:bounds
55 SkRect bounds;
56 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds);
57 SkScalar yOffset = bounds.height();
63 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds);
64 yOffset += bounds.height();
70 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds);
71 yOffset += bounds.height();
77 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds);
78 yOffset += bounds.height();
84 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds);
85 yOffset += bounds.height();
125 SkRect bounds = fBlob->bounds();
127 const int kPadX = SkScalarFloorToInt(bounds.width() / 3);
128 const int kPadY = SkScalarFloorToInt(bounds.height() / 3);
163 canvas->translate(bounds.width() + SK_Scalar1 * kPadX, 0);
165 if ((bounds.width() + 2 * kPadX) * rowCount > kWidth) {
167 canvas->translate(0, bounds.height() + SK_Scalar1 * kPadY);