Lines Matching refs:boundingBox
113 BRect boundingBox = _DetermineBoundingBox(canvas);
114 if (!boundingBox.IsValid())
117 fLeftTopOffset = boundingBox.LeftTop();
119 BReference<UtilityBitmap> layerBitmap(_AllocateBitmap(boundingBox), true);
128 layerEngine->SetRendererOffset(boundingBox.left, boundingBox.top);
131 // of the layer bitmap is at boundingBox.LeftTop(). So all the drawing
139 LayerCanvas layerCanvas(layerEngine.Get(), canvas->DetachDrawState(), boundingBox);
145 oldOffset = mask->SetCanvasGeometry(IntPoint(0, 0), boundingBox);
168 mask->SetCanvasGeometry(oldOffset, boundingBox);
198 BRect boundingBox;
199 PictureBoundingBoxPlayer::Play(this, canvas->CurrentState(), &boundingBox);
201 if (!boundingBox.IsValid())
202 return boundingBox;
206 boundingBox.left = floorf(boundingBox.left);
207 boundingBox.right = ceilf(boundingBox.right) + 2;
208 boundingBox.top = floorf(boundingBox.top);
209 boundingBox.bottom = ceilf(boundingBox.bottom) + 2;
214 return boundingBox;