Home
last modified time | relevance | path

Searched refs:aTextBBox (Results 1 – 5 of 5) sorted by relevance

/trunk/main/sdext/source/presenter/
H A DPresenterToolBar.cxx1725 geometry::RealRectangle2D aTextBBox (mpMode->maText.GetBoundingBox(rxCanvas)); in Paint() local
1726 sal_Int32 nTextHeight (sal::static_int_cast<sal_Int32>(0.5 + aTextBBox.Y2 - aTextBBox.Y1)); in Paint()
1749 geometry::RealRectangle2D aTextBBox (mpMode->maText.GetBoundingBox(rxCanvas)); in CreateBoundingSize() local
1751 sal_Int32 nTextHeight (sal::static_int_cast<sal_Int32>(0.5 + aTextBBox.Y2 - aTextBBox.Y1)); in CreateBoundingSize()
1752 sal_Int32 nTextWidth (sal::static_int_cast<sal_Int32>(0.5 + aTextBBox.X2 - aTextBBox.X1)); in CreateBoundingSize()
1760 ::std::max(aSize.Width, sal_Int32(0.5 + aTextBBox.X2 - aTextBBox.X1)), in CreateBoundingSize()
1844 geometry::RealRectangle2D aTextBBox (mpMode->maText.GetBoundingBox(rxCanvas)); in CreateBoundingSize() local
1846 sal::static_int_cast<sal_Int32>(0.5 + aTextBBox.X2 - aTextBBox.X1), in CreateBoundingSize()
1847 sal::static_int_cast<sal_Int32>(0.5 + aTextBBox.Y2 - aTextBBox.Y1)); in CreateBoundingSize()
H A DPresenterButton.cxx470 const geometry::RealRectangle2D aTextBBox (xLayout->queryTextBounds()); in RenderButton() local
475 aRenderState.AffineTransform.m02 = (rSize.Width - aTextBBox.X2 + aTextBBox.X1)/2; in RenderButton()
476 … aRenderState.AffineTransform.m12 = (rSize.Height - aTextBBox.Y2 + aTextBBox.Y1)/2 - aTextBBox.Y1; in RenderButton()
H A DPresenterCanvasHelper.cxx319 const geometry::RealRectangle2D aTextBBox (GetTextBoundingBox(rxFont, rsText, nTextDirection)); in GetTextSize() local
320 return css::geometry::RealSize2D(aTextBBox.X2 - aTextBBox.X1, aTextBBox.Y2 - aTextBBox.Y1); in GetTextSize()
H A DPresenterHelpView.cxx606 const geometry::RealRectangle2D aTextBBox (xLayout->queryTextBounds()); in CalculateSize() local
607 maSize = css::geometry::RealSize2D(aTextBBox.X2 - aTextBBox.X1, aTextBBox.Y2 - aTextBBox.Y1); in CalculateSize()
608 mnVerticalOffset = aTextBBox.Y2; in CalculateSize()
H A DPresenterSlideSorter.cxx1871 const geometry::RealRectangle2D aTextBBox (xLayout->queryTextBounds()); in CreateBitmap() local
1873 const double nXOffset = (aLabelSize.Width - aTextBBox.X2 + aTextBBox.X1) / 2; in CreateBitmap()
1875 - (aLabelSize.Height - aTextBBox.Y2 + aTextBBox.Y1)/2 - aTextBBox.Y2; in CreateBitmap()