• Home
  • Raw
  • Download

Lines Matching refs:bounds

63         SkRect bounds;  in onOnceBeforeDraw()  local
64 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
66 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw()
68 SkScalar corruptedAx = bounds.width(); in onOnceBeforeDraw()
71 const SkScalar boundsHalfWidth = bounds.width() * SK_ScalarHalf; in onOnceBeforeDraw()
72 const SkScalar boundsHalfHeight = bounds.height() * SK_ScalarHalf; in onOnceBeforeDraw()
82 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
86 xOffset - bounds.width() * 0.25f, in onOnceBeforeDraw()
87 yOffset - bounds.height() * 0.5f); in onOnceBeforeDraw()
94 font.measureText(fEmojiText, strlen(fEmojiText), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
125 SkRect bounds = fBlob->bounds(); in onDraw() local
127 const SkScalar boundsHalfWidth = bounds.width() * SK_ScalarHalf; in onDraw()
128 const SkScalar boundsHalfHeight = bounds.height() * SK_ScalarHalf; in onDraw()
132 SkRect upperLeftClip = SkRect::MakeXYWH(bounds.left(), bounds.top(), in onDraw()
134 SkRect lowerRightClip = SkRect::MakeXYWH(bounds.centerX(), bounds.centerY(), in onDraw()
136 SkRect interiorClip = bounds; in onDraw()
139 const SkRect clipRects[] = { bounds, upperLeftClip, lowerRightClip, interiorClip}; in onDraw()
145 canvas->translate(SkScalarFloorToScalar(bounds.width() + SkIntToScalar(25)), in onDraw()
146 -(x * SkScalarFloorToScalar(bounds.height() + in onDraw()
149 canvas->translate(0, SkScalarFloorToScalar(bounds.height() + SkIntToScalar(25))); in onDraw()