Searched refs:boundingBox (Results 1 - 4 of 4) sorted by relevance

/haiku/src/servers/app/
H A DLayer.cpp113 BRect boundingBox = _DetermineBoundingBox(canvas); local
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; local
[all...]
H A DPictureBoundingBoxPlayer.cpp54 State(const DrawState* drawState, BRect* boundingBox) argument
57 fBoundingBox(boundingBox)
783 BRect boundingBox; local
784 PictureBoundingBoxPlayer::Play(layer, state->GetDrawState(), &boundingBox);
785 if (boundingBox.IsValid())
786 state->IncludeRect(boundingBox);
/haiku/src/servers/app/drawing/
H A DAlphaMask.cpp472 BRect boundingBox; local
473 PictureBoundingBoxPlayer::Play(fPicture, fDrawState.Get(), &boundingBox);
475 if (!boundingBox.IsValid())
476 return boundingBox;
480 boundingBox.left = floorf(boundingBox.left);
481 boundingBox.right = ceilf(boundingBox.right) + 2;
482 boundingBox.top = floorf(boundingBox
[all...]
/haiku/src/apps/icon-o-matic/import_export/svg/
H A DDocumentBuilder.cpp81 BRect boundingBox(xMin, yMin, xMax, yMax);
83 if (!bounds.IsValid() || !boundingBox.Intersects(bounds)) {
84 bounds = boundingBox;

Completed in 23 milliseconds