/aoo41x/main/chart2/source/controller/itemsetwrapper/ |
H A D | AxisItemConverter.cxx | 495 aScale.Maximum.clear(); in ApplySpecialItem() 508 if( aScale.Maximum != aValue ) in ApplySpecialItem() 510 aScale.Maximum = aValue; in ApplySpecialItem() 520 aScale.Minimum.clear(); in ApplySpecialItem() 533 if( aScale.Minimum != aValue ) in ApplySpecialItem() 535 aScale.Minimum = aValue; in ApplySpecialItem() 716 aScale.Origin.clear(); in ApplySpecialItem() 730 if( aScale.Origin != aValue ) in ApplySpecialItem() 732 aScale.Origin = aValue; in ApplySpecialItem() 976 aScale.AxisType = nNewAxisType; in ApplySpecialItem() [all …]
|
/aoo41x/main/svx/source/sdr/primitive2d/ |
H A D | sdrdecompositiontools.cxx | 183 basegfx::B2DVector aScale, aTranslate; in createTextPrimitive() local 191 fabs(aScale.getX()), fabs(aScale.getY()))); in createTextPrimitive() 198 0.0 != aScale.getX() ? 1.0 / aScale.getX() : 1.0, in createTextPrimitive() 199 0.0 != aScale.getY() ? 1.0 / aScale.getY() : 1.0)); in createTextPrimitive() 233 basegfx::B2DVector aScale, aTranslate; in createTextPrimitive() local 238 const bool bMirrorX(basegfx::fTools::less(aScale.getX(), 0.0)); in createTextPrimitive() 240 aScale = basegfx::absolute(aScale); in createTextPrimitive() 245 aJustScaleTransform.set(0, 0, aScale.getX()); in createTextPrimitive() 246 aJustScaleTransform.set(1, 1, aScale.getY()); in createTextPrimitive() 334 basegfx::B2DVector aScale, aTranslate; in createTextPrimitive() local [all …]
|
H A D | sdrole2primitive2d.cxx | 111 basegfx::B2DVector aScale, aTranslate; in get2DDecomposition() local 113 getTransform().decompose(aScale, aTranslate, fRotate, fShearX); in get2DDecomposition() 117 double fScaleX(0.0 != aScale.getX() ? fHalfLineWidth / fabs(aScale.getX()) : 1.0); in get2DDecomposition() 118 double fScaleY(0.0 != aScale.getY() ? fHalfLineWidth / fabs(aScale.getY()) : 1.0); in get2DDecomposition()
|
H A D | sdrgrafprimitive2d.cxx | 79 basegfx::B2DVector aScale, aTranslate; in create2DDecomposition() local 81 getTransform().decompose(aScale, aTranslate, fRotate, fShearX); in create2DDecomposition() 85 double fScaleX(0.0 != aScale.getX() ? fHalfLineWidth / fabs(aScale.getX()) : 1.0); in create2DDecomposition() 86 double fScaleY(0.0 != aScale.getY() ? fHalfLineWidth / fabs(aScale.getY()) : 1.0); in create2DDecomposition()
|
/aoo41x/main/drawinglayer/source/primitive2d/ |
H A D | textprimitive2d.cxx | 103 basegfx::B2DVector aScale, aTranslate; in getTextOutlinesAndTransformation() local 108 if(getTextTransform().decompose(aScale, aTranslate, fRotate, fShearX)) in getTextOutlinesAndTransformation() 112 if(basegfx::fTools::less(aScale.getX(), 0.0) && basegfx::fTools::less(aScale.getY(), 0.0)) in getTextOutlinesAndTransformation() 114 aScale = basegfx::absolute(aScale); in getTextOutlinesAndTransformation() 138 const double fDXArrayScale(1.0 / aScale.getX()); in getTextOutlinesAndTransformation() 171 aScale, fShearX, fRotate, aTranslate); in getTextOutlinesAndTransformation() 209 basegfx::B2DVector aScale, aTranslate; in create2DDecomposition() local 211 aPolygonTransform.decompose(aScale, aTranslate, fRotate, fShearX); in create2DDecomposition() 287 basegfx::B2DVector aScale, aTranslate; in getB2DRange() local 290 if(getTextTransform().decompose(aScale, aTranslate, fRotate, fShearX)) in getB2DRange() [all …]
|
H A D | pagepreviewprimitive2d.cxx | 55 basegfx::B2DVector aScale, aTranslate; in create2DDecomposition() local 57 getTransform().decompose(aScale, aTranslate, fRotate, fShearX); in create2DDecomposition() 59 if(basegfx::fTools::more(aScale.getX(), 0.0) && basegfx::fTools::more(aScale.getY(), 0.0)) in create2DDecomposition() 83 const double fScaleX(aScale.getX() / getContentWidth()); in create2DDecomposition() 84 const double fScaleY(aScale.getY() / getContentHeight()); in create2DDecomposition() 90 const double fNeededHeight(aScale.getY() / fScaleX); in create2DDecomposition() 94 aPageTrans.scale(fScaleX, aScale.getY() / fNeededHeight); in create2DDecomposition() 99 const double fNeededWidth(aScale.getX() / fScaleY); in create2DDecomposition() 103 aPageTrans.scale(aScale.getX() / fNeededWidth, fScaleY); in create2DDecomposition()
|
H A D | controlprimitive2d.cxx | 104 basegfx::B2DVector aScale, aTranslate; in createBitmapDecomposition() local 106 getTransform().decompose(aScale, aTranslate, fRotate, fShearX); in createBitmapDecomposition() 109 aScale = basegfx::absolute(aScale); in createBitmapDecomposition() 110 basegfx::B2DVector aDiscreteSize(rViewInformation.getObjectToViewTransformation() * aScale); in createBitmapDecomposition() 191 … basegfx::fTools::equalZero(aScale.getX()) ? 1.0 : aDiscreteSize.getX() / aScale.getX(), in createBitmapDecomposition() 192 … basegfx::fTools::equalZero(aScale.getY()) ? 1.0 : aDiscreteSize.getY() / aScale.getY()); in createBitmapDecomposition()
|
H A D | gridprimitive2d.cxx | 52 basegfx::B2DVector aScale, aTranslate; in create2DDecomposition() local 54 getTransform().decompose(aScale, aTranslate, fRotate, fShearX); in create2DDecomposition() 138 aExtendedViewport = basegfx::B2DRange(0.0, 0.0, aScale.getX(), aScale.getY()); in create2DDecomposition() 154 aTrans.scale(aScale.getX(), aScale.getY()); in create2DDecomposition() 168 std::min(fMaxX, aScale.getX()), in create2DDecomposition() 169 std::min(fMaxY, aScale.getY())); in create2DDecomposition()
|
H A D | textstrikeoutprimitive2d.cxx | 80 basegfx::B2DVector aScale, aTranslate; in create2DDecomposition() local 84 getObjectTransformation().decompose(aScale, aTranslate, fRotate, fShearX); in create2DDecomposition() 91 aScale.getX(), in create2DDecomposition() 92 aScale.getY(), in create2DDecomposition() 172 basegfx::B2DVector aScale, aTranslate; in create2DDecomposition() local 174 getObjectTransformation().decompose(aScale, aTranslate, fRotate, fShearX); in create2DDecomposition()
|
H A D | wrongspellprimitive2d.cxx | 53 basegfx::B2DVector aScale, aTranslate; in create2DDecomposition() local 55 getTransformation().decompose(aScale, aTranslate, fRotate, fShearX); in create2DDecomposition() 59 const double fFontHeight(aScale.getY()); in create2DDecomposition() 65 …lativeUnderlineDistance(basegfx::fTools::equalZero(aScale.getY()) ? 0.0 : fUnderlineDistance / aSc… in create2DDecomposition()
|
H A D | discreteshadowprimitive2d.cxx | 180 const basegfx::B2DVector aScale(getTransform() * basegfx::B2DVector(1.0, 1.0)); in create2DDecomposition() local 181 const double fSingleX(getDiscreteUnit() / aScale.getX()); in create2DDecomposition() 182 const double fSingleY(getDiscreteUnit() / aScale.getY()); in create2DDecomposition() 318 …const basegfx::B2DVector aScale(rViewInformation.getViewTransformation() * basegfx::B2DVector(1.0,… in getB2DRange() local 320 const double fGrowX((1.0 / aScale.getX()) * nQuarter); in getB2DRange() 321 const double fGrowY((1.0 / aScale.getY()) * nQuarter); in getB2DRange()
|
/aoo41x/main/svx/source/sdr/contact/ |
H A D | viewcontactofgraphic.cxx | 129 basegfx::B2DVector aScale, aTranslate; in createVIP2DSForPresObj() local 131 rObjectMatrix.decompose(aScale, aTranslate, fRotate, fShearX); in createVIP2DSForPresObj() 133 const double fOffsetX((aScale.getX() - aPrefSize.getWidth()) / 2.0); in createVIP2DSForPresObj() 190 basegfx::B2DVector aScale, aTranslate; in createVIP2DSForDraft() local 192 rObjectMatrix.decompose(aScale, aTranslate, fRotate, fShearX); in createVIP2DSForDraft() 199 aScale.setX(std::max(0.0, aScale.getX() - (2.0 * fDistance))); in createVIP2DSForDraft() 200 aScale.setY(std::max(0.0, aScale.getY() - (2.0 * fDistance))); in createVIP2DSForDraft() 226 && basegfx::fTools::lessOrEqual(fWidth, aScale.getX()) in createVIP2DSForDraft() 227 && basegfx::fTools::lessOrEqual(fHeight, aScale.getY())) in createVIP2DSForDraft() 239 aScale.setX(std::max(0.0, aScale.getX() - (fWidth + fDistance))); in createVIP2DSForDraft() [all …]
|
H A D | viewobjectcontactofunocontrol.cxx | 380 ::basegfx::B2DVector aScale, aTranslate; in adjustControlGeometry_throw() 382 aObtainResolutionDependentScale.decompose( aScale, aTranslate, fRotate, fShearX ); in adjustControlGeometry_throw() 383 _rControl.setZoom( aScale ); in adjustControlGeometry_throw() 969 ::basegfx::B2DVector aScale, aTranslate; in DBG_NAME() 971 m_aZoomLevelNormalization.decompose( aScale, aTranslate, fRotate, fShearX ); in DBG_NAME() 981 m_aZoomLevelNormalization.decompose( aScale, aTranslate, fRotate, fShearX ); in DBG_NAME() 1665 ::basegfx::B2DVector aScale, aTranslate; in get2DDecomposition() 1667 …_rViewInformation.getObjectToViewTransformation().decompose( aScale, aTranslate, fRotate, fShearX … in get2DDecomposition() 1678 ::basegfx::B2DVector aScale, aTranslate; in create2DDecomposition() 1680 …_rViewInformation.getObjectToViewTransformation().decompose( aScale, aTranslate, fRotate, fShearX … in create2DDecomposition() [all …]
|
/aoo41x/main/chart2/source/tools/ |
H A D | AxisHelper.cxx | 112 ScaleData aScale = xAxis->getScaleData(); in getDateCheckedScale() local 114 if( aScale.AutoDateAxis && aScale.AxisType == AxisType::CATEGORY ) in getDateCheckedScale() 120 aScale.AxisType = AxisType::DATE; in getDateCheckedScale() 122 if( aScale.AxisType == AxisType::DATE ) in getDateCheckedScale() 126 aScale.AxisType = AxisType::CATEGORY; in getDateCheckedScale() 128 return aScale; in getDateCheckedScale() 357 ScaleData aScale = xAxis->getScaleData(); in createAxis() local 360 aScale.AxisType = aMainScale.AxisType; in createAxis() 362 aScale.Categories = aMainScale.Categories; in createAxis() 363 aScale.Orientation = aMainScale.Orientation; in createAxis() [all …]
|
H A D | BaseGFXHelper.cxx | 187 B3DTuple aScale, aTranslation, aRotation, aShearing; in GetRotationFromMatrix() local 188 rB3DMatrix.decompose( aScale, aTranslation, aRotation, aShearing ); in GetRotationFromMatrix() 194 B3DTuple aScale, aTranslation, aRotation, aShearing; in GetScaleFromMatrix() local 195 rB3DMatrix.decompose( aScale, aTranslation, aRotation, aShearing ); in GetScaleFromMatrix() 196 return aScale; in GetScaleFromMatrix()
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdotextdecomposition.cxx | 682 basegfx::B2DVector aScale, aTranslate; in impDecomposeContourTextPrimitive() local 688 …aPolyPolygon.transform(basegfx::tools::createScaleB2DHomMatrix(fabs(aScale.getX()), fabs(aScale.ge… in impDecomposeContourTextPrimitive() 706 const bool bMirrorX(basegfx::fTools::less(aScale.getX(), 0.0)); in impDecomposeContourTextPrimitive() 707 const bool bMirrorY(basegfx::fTools::less(aScale.getY(), 0.0)); in impDecomposeContourTextPrimitive() 732 basegfx::B2DVector aScale, aTranslate; in impDecomposeBlockTextPrimitive() local 738 aAnchorTextRange.expand(aTranslate + aScale); in impDecomposeBlockTextPrimitive() 908 const bool bMirrorX(basegfx::fTools::less(aScale.getX(), 0.0)); in impDecomposeBlockTextPrimitive() 909 const bool bMirrorY(basegfx::fTools::less(aScale.getY(), 0.0)); in impDecomposeBlockTextPrimitive() 943 basegfx::B2DVector aScale, aTranslate; in impDecomposeStretchTextPrimitive() local 949 aAnchorTextRange.expand(aTranslate + aScale); in impDecomposeStretchTextPrimitive() [all …]
|
H A D | svdocapt.cxx | 782 basegfx::B2DTuple aScale; in TRSetBaseGeometry() local 785 rMatrix.decompose(aScale, aTranslate, fRotate, fShearX); in TRSetBaseGeometry() 789 if(basegfx::fTools::less(aScale.getX(), 0.0) && basegfx::fTools::less(aScale.getY(), 0.0)) in TRSetBaseGeometry() 791 aScale.setX(fabs(aScale.getX())); in TRSetBaseGeometry() 792 aScale.setY(fabs(aScale.getY())); in TRSetBaseGeometry() 809 aScale.setX(ImplMMToTwips(aScale.getX())); in TRSetBaseGeometry() 810 aScale.setY(ImplMMToTwips(aScale.getY())); in TRSetBaseGeometry() 832 Rectangle aBaseRect(aPoint, Size(FRound(aScale.getX()), FRound(aScale.getY()))); in TRSetBaseGeometry()
|
H A D | svdotext.cxx | 1738 aScale.setX(ImplTwipsToMM(aScale.getX())); in TRGetBaseGeometry() 1739 aScale.setY(ImplTwipsToMM(aScale.getY())); in TRGetBaseGeometry() 1752 aScale, in TRGetBaseGeometry() 1766 basegfx::B2DTuple aScale; in TRSetBaseGeometry() local 1770 rMatrix.decompose(aScale, aTranslate, fRotate, fShearX); in TRSetBaseGeometry() 1774 if(basegfx::fTools::less(aScale.getX(), 0.0) && basegfx::fTools::less(aScale.getY(), 0.0)) in TRSetBaseGeometry() 1776 aScale.setX(fabs(aScale.getX())); in TRSetBaseGeometry() 1777 aScale.setY(fabs(aScale.getY())); in TRSetBaseGeometry() 1800 aScale.setX(ImplMMToTwips(aScale.getX())); in TRSetBaseGeometry() 1801 aScale.setY(ImplMMToTwips(aScale.getY())); in TRSetBaseGeometry() [all …]
|
H A D | svdhdl.cxx | 2515 basegfx::B2DVector aScale, aTranslate; in CreateB2dIAObject() local 2520 if(aScale.equalZero()) in CreateB2dIAObject() 2532 aScale.setX(aScale.getX() * -1.0); in CreateB2dIAObject() 2533 aScale.setY(aScale.getY() * -1.0); in CreateB2dIAObject() 2550 aScale.setX(-aScale.getX()); in CreateB2dIAObject() 2555 aScale.setY(-aScale.getY()); in CreateB2dIAObject() 2560 aScale.getX() + fCropRight + fCropLeft, in CreateB2dIAObject() 2561 aScale.getY() + fCropBottom + fCropTop); in CreateB2dIAObject() 2569 aTranslate.getX() + aScale.getX(), aTranslate.getY() + aScale.getY()); in CreateB2dIAObject() 2590 basegfx::fTools::equalZero(aScale.getX()) ? 1.0 : 1.0 / aScale.getX(), in CreateB2dIAObject() [all …]
|
H A D | svdopath.cxx | 2880 basegfx::B2DTuple aScale(1.0, 1.0); in TRGetBaseGeometry() local 2977 aScale.setX(ImplTwipsToMM(aScale.getX())); in TRGetBaseGeometry() 2978 aScale.setY(ImplTwipsToMM(aScale.getY())); in TRGetBaseGeometry() 2997 aScale, in TRGetBaseGeometry() 3011 basegfx::B2DTuple aScale; in TRSetBaseGeometry() local 3018 if(basegfx::fTools::less(aScale.getX(), 0.0) && basegfx::fTools::less(aScale.getY(), 0.0)) in TRSetBaseGeometry() 3020 aScale.setX(fabs(aScale.getX())); in TRSetBaseGeometry() 3021 aScale.setY(fabs(aScale.getY())); in TRSetBaseGeometry() 3047 aScale.setX(ImplMMToTwips(aScale.getX())); in TRSetBaseGeometry() 3048 aScale.setY(ImplMMToTwips(aScale.getY())); in TRSetBaseGeometry() [all …]
|
H A D | svdobj.cxx | 3035 basegfx::B2DTuple aScale(aRectangle.GetWidth(), aRectangle.GetHeight()); in TRGetBaseGeometry() local 3060 aScale.setX(ImplTwipsToMM(aScale.getX())); in TRGetBaseGeometry() 3061 aScale.setY(ImplTwipsToMM(aScale.getY())); in TRGetBaseGeometry() 3084 basegfx::B2DTuple aScale; in TRSetBaseGeometry() local 3087 rMatrix.decompose(aScale, aTranslate, fRotate, fShearX); in TRSetBaseGeometry() 3091 if(basegfx::fTools::less(aScale.getX(), 0.0) && basegfx::fTools::less(aScale.getY(), 0.0)) in TRSetBaseGeometry() 3093 aScale.setX(fabs(aScale.getX())); in TRSetBaseGeometry() 3094 aScale.setY(fabs(aScale.getY())); in TRSetBaseGeometry() 3111 aScale.setX(ImplMMToTwips(aScale.getX())); in TRSetBaseGeometry() 3112 aScale.setY(ImplMMToTwips(aScale.getY())); in TRSetBaseGeometry() [all …]
|
/aoo41x/main/canvas/source/vcl/ |
H A D | impltools.cxx | 121 ::basegfx::B2DTuple aScale; in setupFontTransform() 125 aMatrix.decompose( aScale, aTranslate, nRotate, nShearX ); in setupFontTransform() 128 if( aScale.getX() < 0.0 && in setupFontTransform() 129 aScale.getY() < 0.0 && in setupFontTransform() 132 aScale *= -1.0; in setupFontTransform() 137 if( !::rtl::math::approxEqual(aScale.getX(), aScale.getY()) ) in setupFontTransform() 142 const sal_Int32 nScaledFontWidth( ::basegfx::fround(nFontWidth * aScale.getX()) ); in setupFontTransform() 154 if( !::rtl::math::approxEqual(aScale.getY(), 1.0) ) in setupFontTransform() 157 io_rVCLFont.SetHeight( ::basegfx::fround(nFontHeight * aScale.getY()) ); in setupFontTransform()
|
/aoo41x/main/canvas/source/cairo/ |
H A D | cairo_canvashelper_text.cxx | 81 ::basegfx::B2DTuple aScale; in setupFontTransform() 85 aMatrix.decompose( aScale, aTranslate, nRotate, nShearX ); in setupFontTransform() 88 if( !::rtl::math::approxEqual(aScale.getX(), aScale.getY()) ) in setupFontTransform() 93 const sal_Int32 nScaledFontWidth( ::basegfx::fround(nFontWidth * aScale.getX()) ); in setupFontTransform() 105 if( !::rtl::math::approxEqual(aScale.getY(), 1.0) ) in setupFontTransform() 108 io_rVCLFont.SetHeight( ::basegfx::fround(nFontHeight * aScale.getY()) ); in setupFontTransform()
|
/aoo41x/main/chart2/source/view/axes/ |
H A D | VCoordinateSystem.cxx | 177 ::basegfx::B3DTuple aScale( BaseGFXHelper::GetScaleFromMatrix( in getCoordinateSystemResolution() 181 … double fCoosysWidth = static_cast< double >( fabs(aScale.getX()*FIXED_SIZE_FOR_3D_CHART_VOLUME)); in getCoordinateSystemResolution() 182 … double fCoosysHeight = static_cast< double >( fabs(aScale.getY()*FIXED_SIZE_FOR_3D_CHART_VOLUME)); in getCoordinateSystemResolution() 402 ExplicitScaleData aScale = getExplicitScale( 0, 0 ); in prepareScaleAutomatismForDimensionAndIndex() local 403 …fMin = m_aMergedMinimumAndMaximumSupplier.getMinimumYInRange(aScale.Minimum,aScale.Maximum, nAxisI… in prepareScaleAutomatismForDimensionAndIndex() 404 …fMax = m_aMergedMinimumAndMaximumSupplier.getMaximumYInRange(aScale.Minimum,aScale.Maximum, nAxisI… in prepareScaleAutomatismForDimensionAndIndex()
|
/aoo41x/main/cppcanvas/source/mtfrenderer/ |
H A D | transparencygroupaction.cxx | 288 ::basegfx::B2DTuple aScale; in render() 292 if( !aTotalTransform.decompose( aScale, in render() 303 ::Size aOutputSizePixel( ::basegfx::fround( aScale.getX() * maDstSize.getX() ), in render() 304 … ::basegfx::fround( aScale.getY() * maDstSize.getY() ) ); in render() 307 … ::Size aBitmapSizePixel( static_cast<sal_Int32>( aScale.getX() * maDstSize.getX() )+1, in render() 308 … static_cast<sal_Int32>( aScale.getY() * maDstSize.getY() )+1 ); in render()
|