Lines Matching refs:bounds
48 SkRect bounds; in onOnceBeforeDraw() local
49 paint.measureText(text, strlen(text), &bounds); in onOnceBeforeDraw()
50 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw()
56 paint.measureText(text, strlen(text), &bounds); in onOnceBeforeDraw()
57 yOffset += bounds.height(); in onOnceBeforeDraw()
63 paint.measureText(text, strlen(text), &bounds); in onOnceBeforeDraw()
64 yOffset += bounds.height(); in onOnceBeforeDraw()
70 paint.measureText(text, strlen(text), &bounds); in onOnceBeforeDraw()
71 yOffset += bounds.height(); in onOnceBeforeDraw()
77 paint.measureText(text, strlen(text), &bounds); in onOnceBeforeDraw()
78 yOffset += bounds.height(); in onOnceBeforeDraw()
120 SkRect bounds = fBlob->bounds(); in onDraw() local
122 const int kPadX = SkScalarFloorToInt(bounds.width() / 3); in onDraw()
123 const int kPadY = SkScalarFloorToInt(bounds.height() / 3); in onDraw()
158 canvas->translate(bounds.width() + SK_Scalar1 * kPadX, 0); in onDraw()
160 if ((bounds.width() + 2 * kPadX) * rowCount > kWidth) { in onDraw()
162 canvas->translate(0, bounds.height() + SK_Scalar1 * kPadY); in onDraw()