Home
last modified time | relevance | path

Searched refs:getWidth (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/trunk/main/svgio/source/svgreader/
H A Dsvgsvgnode.cxx246 if (pParentSvgSvgNode->getWidth().isSet()) in seekReferenceWidth()
342 … bool bWidthIsAbsolute(getWidth().isSet() && Unit_percent != getWidth().getUnit()); in decomposeSvgNode()
370 fWReference = aChildRange.getWidth(); in decomposeSvgNode()
379 … fW = (getWidth().isSet() ? getWidth().getNumber() *0.01 : 1.0) * fWReference; in decomposeSvgNode()
498 …const bool bWidthInvalid(getWidth().isSet() && basegfx::fTools::lessOrEqual(getWidth().getNumber()… in decomposeSvgNode()
514 … const bool bWidthIsAbsolute(getWidth().isSet() && Unit_percent != getWidth().getUnit()); in decomposeSvgNode()
563 … const bool bWidthIsAbsolute(getWidth().isSet() && Unit_percent != getWidth().getUnit()); in decomposeSvgNode()
567 fW =getWidth().solveNonPercentage(*this); in decomposeSvgNode()
683 … bool bWidthIsAbsolute(getWidth().isSet() && Unit_percent != getWidth().getUnit()); in getCurrentViewPort()
715 … fW = (getWidth().isSet() ? getWidth().getNumber() *0.01 : 1.0) * fWReference; in getCurrentViewPort()
[all …]
H A Dsvgpatternnode.cxx214 double fTargetWidth(rGeoRange.getWidth()); in getValuesRelative()
223 rfW = (getWidth().isSet()) ? getWidth().getNumber() : 0.0; in getValuesRelative()
226 if(Unit_percent == getWidth().getUnit()) in getValuesRelative()
238 rfW = (getWidth().isSet()) ? getWidth().solve(rUser, xcoordinate) : 0.0; in getValuesRelative()
376 const SvgNumber& SvgPatternNode::getWidth() const in getWidth() function in svgio::svgreader::SvgPatternNode
387 return mpXLink->getWidth(); in getWidth()
H A Dsvgmasknode.cxx218 const double fContentWidth(aContentRange.getWidth()); in apply()
231 …const double fW(Unit_percent == getWidth().getUnit() ? getWidth().getNumber() * 0.01 : getWidth().… in apply()
248 … fX + (getWidth().isSet() ? getWidth().solve(*this, xcoordinate) : 0.0), in apply()
/trunk/test/testcommon/source/org/openoffice/test/common/
H A DGraphicsUtil.java189 BufferedImage dst = new BufferedImage(src.getWidth(), src.getHeight(), in findRectangle()
192 for (int x = 0; x < dst.getWidth(); x++) { in findRectangle()
202 for (int x = 0; x < src.getWidth(); x++) { in findRectangle()
235 for (int x = 0; x < src.getWidth(); x++) { in detect()
258 int w = image.getWidth(); in getBoundingBox()
291 int w = capture.getWidth(); in isFilledWith()
311 int w = capture.getWidth(); in findImage()
313 int iw = image.getWidth(); in findImage()
339 int w = capture.getWidth(); in findColor()
362 if (expected.getHeight() != actual.getHeight() || expected.getWidth() != actual.getWidth()) in imageEquals()
[all …]
/trunk/main/sw/source/core/bastyp/
H A Dswrect.cxx239 if ( m_Size.getWidth() < 0 ) in Justify()
241 m_Point.X() += m_Size.getWidth() + 1; in Justify()
242 m_Size.setWidth(-m_Size.getWidth()); in Justify()
256 long SwRect::_Width() const{ return m_Size.getWidth(); } in _Width()
259 long SwRect::_Right() const{ return m_Point.getX() + m_Size.getWidth(); } in _Right()
272 const Size SwRect::SwappedSize() const { return Size( m_Size.getHeight(), m_Size.getWidth() ); } in SwappedSize()
277 { return Point( m_Point.getX() + m_Size.getWidth(), m_Point.getY() + m_Size.getHeight() ); } in BottomRight()
281 long SwRect::GetRightDistance( long nLim ) const { return nLim - m_Point.getX() - m_Size.getWidth()… in GetRightDistance()
283 { return nLimit > m_Point.getX() && m_Point.getX() + m_Size.getWidth() > nLimit; } in OverStepLeft()
289 { return nLimit > m_Point.getX() && m_Point.getX() + m_Size.getWidth() > nLimit; } in OverStepRight()
[all …]
/trunk/main/chart2/source/controller/main/
H A DPositionAndSizeHelper.cxx66 …osition.Primary = (double(aPos.X())+double(aObjectRect.getWidth())/2.0)/double(aPageRect.getWidth(… in moveObject()
77 aRelativePosition.Primary = double(aPos.X())/double(aPageRect.getWidth()); in moveObject()
91 static_cast< double >( aPageRect.getWidth() ); in moveObject()
99 static_cast< double >( aObjectRect.getWidth()) / in moveObject()
100 static_cast< double >( aPageRect.getWidth() ); in moveObject()
120 aRelativePosition.Primary = double(aPos.X())/double(aPageRect.getWidth()); in moveObject()
128 aRelativeSize.Primary = double(aObjectRect.getWidth())/double(aPageRect.getWidth()); in moveObject()
/trunk/main/drawinglayer/source/primitive2d/
H A Dgraphicprimitivehelper2d.cxx274 1.0 / rSvgRange.getWidth(), in create2DDecompositionOfGraphic()
318 const Fraction aScaleX(aRectangle.getWidth()); in create2DDecompositionOfGraphic()
392 const double fHor(aRectangle.getWidth()); in create2DDecompositionOfGraphic()
413 const double fHor(aRectangle.getWidth()); in create2DDecompositionOfGraphic()
430 const double fHor(aRectangle.getWidth()); in create2DDecompositionOfGraphic()
532 const double fHor(aRectangle.getWidth()); in create2DDecompositionOfGraphic()
571 const double fHor(aRectangle.getWidth()); in create2DDecompositionOfGraphic()
601 const double fHor(aRectangle.getWidth()); in create2DDecompositionOfGraphic()
664 const double fHor(aRectangle.getWidth()); in create2DDecompositionOfGraphic()
700 const double fHor(aRectangle.getWidth()); in create2DDecompositionOfGraphic()
[all …]
H A Dsceneprimitive2d.cxx117 …leFactorX(basegfx::fTools::equalZero(rDiscreteRange.getWidth()) ? 1.0 : 1.0 / rDiscreteRange.getWi… in calculateDiscreteSizes()
169 double fViewSizeX(aVisibleDiscreteRange.getWidth()); in create2DDecomposition()
220 … aObjToUnit.scale(1.0 / aDiscreteRange.getWidth(), 1.0 / aDiscreteRange.getHeight()); in create2DDecomposition()
275 …const double fLogicX((aInverseOToV * basegfx::B2DVector(aDiscreteRange.getWidth() * fReduceFactor,… in create2DDecomposition()
295 if(aBitmapSizePixel.getWidth() && aBitmapSizePixel.getHeight()) in create2DDecomposition()
300 aNew2DTransform.set(0, 0, aVisibleDiscreteRange.getWidth()); in create2DDecomposition()
375 double fDivisorX(maOldUnitVisiblePart.getWidth()); in tryToCheckLastVisualisationDirectHit()
496 if(basegfx::fTools::more(aDiscreteRange.getWidth(), mfOldDiscreteSizeX) || in get2DDecomposition()
520 pThat->mfOldDiscreteSizeX = aDiscreteRange.getWidth(); in get2DDecomposition()
H A Dpolygonprimitive2d.cxx251 if(!getLineAttribute().isDefault() && getLineAttribute().getWidth()) in create2DDecomposition()
254 const double fHalfLineWidth(getLineAttribute().getWidth() / 2.0); in create2DDecomposition()
345 if(getLineAttribute().getWidth()) in getB2DRange()
376 aRetval.grow(getLineAttribute().getWidth() * 0.5); in getB2DRange()
506 if(basegfx::fTools::more(getLineAttribute().getWidth(), 0.0)) in getB2DRange()
508 aRetval.grow(getLineAttribute().getWidth() * 0.5); in getB2DRange()
546 aLocalPolygon, getStart().getB2DPolyPolygon(), true, getStart().getWidth(), in create2DDecomposition()
551 fStartOverlap = getStart().getWidth() / 15.0; in create2DDecomposition()
558 aLocalPolygon, getEnd().getB2DPolyPolygon(), false, getEnd().getWidth(), in create2DDecomposition()
562 fEndOverlap = getEnd().getWidth() / 15.0; in create2DDecomposition()
/trunk/main/svx/source/sdr/primitive2d/
H A Dsdrmeasureprimitive2d.cxx165 fStartArrowH = aArrowRange.getHeight() * fStartArrowW / aArrowRange.getWidth(); in create2DDecomposition()
177 fEndArrowH = aArrowRange.getHeight() * fEndArrowW / aArrowRange.getWidth(); in create2DDecomposition()
188 const double fHalfLineWidth(rLineAttribute.getWidth() * 0.5); in create2DDecomposition()
210 if(aTextRange.getWidth() > fDistance) in create2DDecomposition()
221 if(aTextRange.getWidth() + fSpaceNeededByArrows > fDistance) in create2DDecomposition()
230 if(aTextRange.getWidth() + fSmallArrowNeed > fDistance) in create2DDecomposition()
269 fLenLeft = fStartArrowH + aTextRange.getWidth(); in create2DDecomposition()
273 fLenRight = fEndArrowH + aTextRange.getWidth(); in create2DDecomposition()
292 …const double fHalfLength((fDistance - (aTextRange.getWidth() + (fStartArrowH + fEndArrowH) * 0.25)… in create2DDecomposition()
327 fTextX = aMainLeft.getX() - (fStartArrowH + aTextRange.getWidth() + fSmall + fHalfLineWidth); in create2DDecomposition()
[all …]
H A Dsdrdecompositiontools.cxx161 …const attribute::LineAttribute aLineAttribute(rLine.getColor(), rLine.getWidth(), rLine.getJoin(),… in createPolygonLinePrimitive()
208 if(!rStroke.isDefault() && 0.0 != rStroke.getWidth()) in createTextPrimitive()
223 …lygon = basegfx::tools::growInNormalDirection(aScaledUnitPolyPolygon, -(rStroke.getWidth() * 0.5)); in createTextPrimitive()
292 … basegfx::fTools::equalZero(aTextAnchorRange.getWidth()) ? 1.0 : aTextAnchorRange.getWidth(), in createTextPrimitive()
416 rText.getScrollTextTiming(aAnimationList, aScale.getX(), aScaledRange.getWidth()); in createTextPrimitive()
/trunk/main/cui/source/tabpages/
H A Dtransfrm.cxx1258 fRight -= maRange.getWidth(); in IMPL_LINK_INLINE_END()
1264 fLeft += maRange.getWidth() / 2.0; in IMPL_LINK_INLINE_END()
1265 fRight -= maRange.getWidth() / 2.0; in IMPL_LINK_INLINE_END()
1271 fLeft += maRange.getWidth(); in IMPL_LINK_INLINE_END()
1277 fRight -= maRange.getWidth(); in IMPL_LINK_INLINE_END()
1292 fLeft += maRange.getWidth(); in IMPL_LINK_INLINE_END()
1299 fRight -= maRange.getWidth(); in IMPL_LINK_INLINE_END()
1312 fLeft += maRange.getWidth(); in IMPL_LINK_INLINE_END()
1432 rfX -= rRange.getWidth(); in GetTopLeftPosition()
1448 rfX -= rRange.getWidth(); in GetTopLeftPosition()
[all …]
/trunk/main/odk/examples/DevelopersGuide/Accessibility/
H A DGraphicalDisplay.java70 (int)(mnScale*aScreenSize.getWidth()), in paintComponent()
77 (int)(mnScale*aScreenSize.getWidth()), in paintComponent()
146 if ((aScreenSize.getWidth() > 0) && (aScreenSize.getHeight() > 0)) in setupTransformation()
152 double nHScale = (aWidgetSize.getWidth() - 10) / aScreenSize.getWidth(); in setupTransformation()
160 mnHOffset = (aWidgetSize.getWidth() - mnScale*aScreenSize.getWidth()) / 2.0; in setupTransformation()
/trunk/main/accessibility/workben/org/openoffice/accessibility/awb/canvas/
H A DCanvas.java131 aScreenSize.getWidth(), in paintComponent()
208 if ((aScreenSize.getWidth() > 0) && (aScreenSize.getHeight() > 0)) in setupTransformation()
217 double nHScale = (aWidgetSize.getWidth() - 10) in setupTransformation()
218 / aScreenSize.getWidth(); in setupTransformation()
233 mnHOffset = (aWidgetSize.getWidth() in setupTransformation()
234 - mnScale*aScreenSize.getWidth()) / 2.0; in setupTransformation()
243 (int)(2*mnHOffset + mnScale * aScreenSize.getWidth()), in setupTransformation()
/trunk/main/drawinglayer/source/attribute/
H A Dlinestartendattribute.cxx62 double getWidth() const { return mfWidth; } in getWidth() function in drawinglayer::attribute::ImpLineStartEndAttribute
68 return (basegfx::fTools::equal(getWidth(), rCandidate.getWidth()) in operator ==()
165 double LineStartEndAttribute::getWidth() const in getWidth() function in drawinglayer::attribute::LineStartEndAttribute
167 return mpLineStartEndAttribute->getWidth(); in getWidth()
182 return (0.0 != getWidth() in isActive()
H A Dlineattribute.cxx63 double getWidth() const { return mfWidth; } in getWidth() function in drawinglayer::attribute::ImpLineAttribute
70 && getWidth() == rCandidate.getWidth() in operator ==()
178 double LineAttribute::getWidth() const in getWidth() function in drawinglayer::attribute::LineAttribute
180 return mpLineAttribute->getWidth(); in getWidth()
H A Dsdrlineattribute.cxx82 double getWidth() const { return mfWidth; } in getWidth() function in drawinglayer::attribute::ImpSdrLineAttribute
92 && getWidth() == rCandidate.getWidth() in operator ==()
219 double SdrLineAttribute::getWidth() const in getWidth() function in drawinglayer::attribute::SdrLineAttribute
221 return mpSdrLineAttribute->getWidth(); in getWidth()
/trunk/main/chart2/source/controller/dialogs/
H A Dres_DataLabel.cxx159 …PB_NumberFormatForPercent.CalcMinimumSize().getWidth(), m_aPB_NumberFormatForValue.CalcMinimumSize… in DataLabelResources()
161 …XWidth = ::std::max( m_aCBNumber.CalcMinimumSize().getWidth(), m_aCBPercent.CalcMinimumSize().getW… in DataLabelResources()
163 long nPageWidth = pWindow->LogicToPixel( Size(260,185), MapMode(MAP_APPFONT) ).getWidth(); in DataLabelResources()
186 aSize.setWidth( m_aFT_LabelPlacement.CalcMinimumSize().getWidth() ); in DataLabelResources()
189 …long nWantedMinLeftBorder = m_aFT_LabelPlacement.GetPosPixel().X() + aSize.getWidth () + aControlD… in DataLabelResources()
192 …ListBoxWidthAndXPos( nWantedMinLeftBorder, -1, m_aLB_LabelPlacement.CalcMinimumSize().getWidth() ); in DataLabelResources()
196 aSize.setWidth( m_aSeparatorResources.GetCurrentListBoxSize().getWidth() ); in DataLabelResources()
H A Ddlg_DataEditor.cxx107 sal_Int32 nMinWidth = aWinSize.getWidth(); in DataEditor()
108 sal_Int32 nMaxWidth = GetDesktopRectPixel().getWidth() - in DataEditor()
109 … (aWinSizeWithBorder.getWidth() - aWinSize.getWidth() + aWinPos.getX()) - 10; // leave some space in DataEditor()
299 aDataSize.setWidth( aSize.getWidth() - 12 ); in AdaptBrowseBoxSize()
/trunk/main/toolkit/test/accessibility/
H A DCanvas.java229 mnScale*aScreenSize.getWidth(), in paintComponent()
295 if ((aScreenSize.getWidth() > 0) && (aScreenSize.getHeight() > 0)) in setupTransformation()
304 double nHScale = (aWidgetSize.getWidth() - 10) / aScreenSize.getWidth(); in setupTransformation()
317 mnHOffset = (aWidgetSize.getWidth() - mnScale*aScreenSize.getWidth()) / 2.0; in setupTransformation()
325 (int)(2*mnHOffset + mnScale * aScreenSize.getWidth()), in setupTransformation()
/trunk/main/odk/examples/java/EmbedDocument/EmbeddedObject/
H A DEditorFrame.java45 …m_aBufImage = new BufferedImage( m_aTextArea.getWidth(), m_aTextArea.getHeight(), BufferedImage.TY…
87 new Dimension( (int)( aSize.getWidth() + aOwnSize.getWidth() - aAppSize.getWidth() ), in setAppSize()
107 int nWidth = (int)aDim.getWidth(); in getReplacementImage()
/trunk/main/canvas/source/directx/
H A Ddx_spritecanvashelper.cxx62 static_cast<sal_Int32>(rOutputArea.getWidth()), in repaintBackground()
232 static_cast<sal_Int32>(rCurrArea.getWidth()), in updateScreen()
317 static_cast<sal_Int32>(maScrapRect.getWidth()), in scrollUpdate()
341 static_cast<sal_Int32>(maScrapRect.getWidth()), in opaqueUpdate()
361 static_cast<sal_Int32>(maScrapRect.getWidth()), in genericUpdate()
/trunk/main/drawinglayer/source/primitive3d/
H A Dsdrprimitive3d.cxx51 if(!rLine.isDefault() && !basegfx::fTools::equalZero(rLine.getWidth())) in getStandard3DRange()
54 aUnitRange.grow(rLine.getWidth() / 2.0); in getStandard3DRange()
78 if(!rLine.isDefault() && !basegfx::fTools::equalZero(rLine.getWidth())) in get3DRangeFromSlices()
81 aRetval.grow(rLine.getWidth() / 2.0); in get3DRangeFromSlices()
/trunk/test/testgui/source/bvt/gui/
H A DBasicFunctionTest.java221 …assertTrue("Green Picture is inserted?" + rectangle, rectangle != null && rectangle.getWidth() > 1… in testInsertPictureInDocument()
229 …assertTrue("Green Picture is inserted? " + rectangle, rectangle != null && rectangle.getWidth() > … in testInsertPictureInDocument()
246 …assertTrue("Green Picture is inserted?" + rectangle, rectangle != null && rectangle.getWidth() > 1… in testInsertPictureInSpreadsheet()
256 …assertTrue("Red Picture is inserted? " + rectangle, rectangle != null && rectangle.getWidth() > 10… in testInsertPictureInSpreadsheet()
273 …assertTrue("Green Picture is inserted?" + rectangle, rectangle != null && rectangle.getWidth() > 1… in testInsertPictureInPresentation()
281 …assertTrue("Red Picture is inserted? " + rectangle, rectangle != null && rectangle.getWidth() > 10… in testInsertPictureInPresentation()
/trunk/main/drawinglayer/source/processor3d/
H A Dzbufferprocessor3d.cxx54 const sal_uInt32 nWidth(mnAntiAlialize ? rRaster.getWidth()/mnAntiAlialize : rRaster.getWidth()); in BPixelRasterToBitmapEx()
93 nIndex += rRaster.getWidth() - mnAntiAlialize; in BPixelRasterToBitmapEx()
390 …sal_uInt32 nXA(::std::min(mrBuffer.getWidth(), (sal_uInt32)::std::max((sal_Int32)0, basegfx::froun… in processLineSpan()
391 …const sal_uInt32 nXB(::std::min(mrBuffer.getWidth(), (sal_uInt32)::std::max((sal_Int32)0, basegfx:… in processLineSpan()
678 const double fViewSizeX(fFullViewSizeX * rVisiblePart.getWidth()); in ZBufferProcessor3D()
755 …maRasterRange.expand(basegfx::B2DPoint(mpBZPixelRaster->getWidth(), mpBZPixelRaster->getHeight())); in ZBufferProcessor3D()

Completed in 121 milliseconds

12345678910>>...13