/aoo42x/main/basegfx/source/polygon/ |
H A D | b2dtrapezoid.cxx | 85 double getDeltaY() const { return mpEnd->getY() - mpStart->getY(); } in getDeltaY() 113 if(mpEnd->getY() < mpStart->getY()) in TrDeEdgeEntry() 172 return fTools::less(getStart().getY(), rComp.getStart().getY()); in operator <() 243 const double fOldDeltaYStart(rCutPoint.getY() - aEdge.getStart().getY()); in splitEdgeAtGivenPoint() 253 const double fNewDeltaYStart(aEdge.getEnd().getY() - rCutPoint.getY()); in splitEdgeAtGivenPoint() 530 const double fMiddle((pPrev->getY() + pCurr->getY()) * 0.5); in TrapezoidSubdivider() 656 bLeftIsLonger = fTools::more(aLeftEnd.getY(), aRightEnd.getY()); in Subdivide() 739 && fTools::less(aCurrent->getStart().getY(), aLeftEnd.getY())) in Subdivide() 830 && fTools::less(aLoop->getStart().getY(), aLeftEnd.getY())); in Subdivide() 989 std::min(rPointA.getY(), rPointB.getY()), in createLineTrapezoidFromEdge() [all …]
|
H A D | b2dsvgpolypolygon.cxx | 262 … aPrevControl.setY((2.0 * aPrevPoint.getY()) - aPrevControlPoint.getY()); in importFromSvgD() 417 … aPrevControl.setY((2.0 * aPrevPoint.getY()) - aPrevControlPoint.getY()); in importFromSvgD() 427 ((3.0 * aPrevControl.getY()) - aPrevPoint.getY()) / 2.0); in importFromSvgD() 513 …(fRX*fRX*fRY*fRY - fRX*fRX*p1_prime.getY()*p1_prime.getY() - fRY*fRY*p1_prime.getX()*p1_prime.getX… in importFromSvgD() 514 … (fRX*fRX*p1_prime.getY()*p1_prime.getY() + fRY*fRY*p1_prime.getX()*p1_prime.getX())); in importFromSvgD() 525 p1_prime.getY()*p1_prime.getY() + in importFromSvgD() 745 …x::internal::lcl_putNumberCharWithSpace(aResult, aEdgeStart.getY(), aCurrentSVGPosition.getY(), bU… in exportToSvgD() 809 …gfx::internal::lcl_putNumberCharWithSpace(aResult, aEdgeEnd.getY(), aCurrentSVGPosition.getY(), bU… in exportToSvgD() 824 …asegfx::internal::lcl_putNumberCharWithSpace(aResult, aLeft.getY(), aCurrentSVGPosition.getY(), bU… in exportToSvgD() 826 …gfx::internal::lcl_putNumberCharWithSpace(aResult, aEdgeEnd.getY(), aCurrentSVGPosition.getY(), bU… in exportToSvgD() [all …]
|
H A D | b3dpolygontools.cxx | 718 if(fTools::equalZero(aTexCoor.getY()) || fTools::equal(aTexCoor.getY(), fOne)) in applyDefaultTextureCoordinatesSphere() 904 const bool bCompYA(fTools::more(aPreviousPoint.getY(), rPoint.getY())); in isInside() 905 const bool bCompYB(fTools::more(aCurrentPoint.getY(), rPoint.getY())); in isInside() 918 (aPreviousPoint.getY() - aCurrentPoint.getY()) / in isInside() 980 const bool bCompYA(fTools::more(aPreviousPoint.getY(), rPoint.getY())); in isInside() 981 const bool bCompYB(fTools::more(aCurrentPoint.getY(), rPoint.getY())); in isInside() 999 aCurrentPoint.getX() - (aCurrentPoint.getY() - rPoint.getY()) * in isInside() 1001 (aPreviousPoint.getY() - aCurrentPoint.getY())); in isInside() 1225 const bool bPrevHorizontal(aPrevTuple.getY() == aCurrTuple.getY()); in snapPointsOfHorizontalOrVerticalEdges() 1226 const bool bNextHorizontal(aNextTuple.getY() == aCurrTuple.getY()); in snapPointsOfHorizontalOrVerticalEdges() [all …]
|
H A D | b2dpolygontools.cxx | 421 const bool bCompYB(fTools::more(aCurrentPoint.getY(), rPoint.getY())); in isInside() 439 aCurrentPoint.getX() - (aCurrentPoint.getY() - rPoint.getY()) * in isInside() 441 (aPreviousPoint.getY() - aCurrentPoint.getY())); in isInside() 1190 * rEdge1Delta.getY() - rEdge2Start.getY()) / rEdge2Delta.getY(); in findCut() 1239 double fValue = (rPoint.getY() - rEdgeStart.getY()) / rEdgeDelta.getY(); in isPointOnEdge() 1255 if(fTools::equal(rPoint.getY(), rEdgeStart.getY())) in isPointOnEdge() 1274 double fTTwo = (rPoint.getY() - rEdgeStart.getY()) / rEdgeDelta.getY(); in isPointOnEdge() 1571 + aPerpend.getX() * (rEdgeStart.getY() - rTestPosition.getY())) / in isInEpsilonRange() 1572 (aEdge.getX() * aEdge.getX() + aEdge.getY() * aEdge.getY())); in isInEpsilonRange() 2251 : aTestVector.getY() / aEdgeVector.getY()); in isPointOnLine() [all …]
|
H A D | b2dpolygontriangulator.cxx | 61 if(::basegfx::fTools::equal(maStart.getY(), maEnd.getY())) in EdgeEntry() 68 else if(maStart.getY() > maEnd.getY()) in EdgeEntry() 79 mfAtan2 = atan2(maEnd.getY() - maStart.getY(), maEnd.getX() - maStart.getX()); in EdgeEntry() 88 if(::basegfx::fTools::equal(maStart.getY(), rComp.maStart.getY())) in operator <() 99 return (maStart.getY() < rComp.maStart.getY()); in operator <() 152 && pCurr->getStart().getY() <= aNew.getStart().getY() in handleClosingEdge() 317 if(aRange.getMaxY() < pTestEdge->getStart().getY()) in Triangulator() 345 if(aRange.getMaxY() < pTestEdge->getStart().getY()) in Triangulator()
|
/aoo42x/main/basegfx/inc/basegfx/point/ |
H A D | b3dhompoint.hxx | 178 double getY() const in getY() function in basegfx::B3DHomPoint 181 return maTuple.getY(); in getY() 195 return maTuple.getY(); in getZ() 243 maTuple.setY(getY() * rPnt.mfW + rPnt.getY() * mfW); in operator +=() 253 maTuple.setY(getY() * rPnt.mfW - rPnt.getY() * mfW); in operator -=() 309 std::min(rVecB.getY(), rVecA.getY()), in minimum() 317 std::max(rVecB.getY(), rVecA.getY()), in maximum() 347 ((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY(), in interpolate() 356 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5, in average() 357 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5); in average() [all …]
|
H A D | b2dhompoint.hxx | 131 : maTuple(rVec.maTuple.getX(), rVec.maTuple.getY()), in B2DHomPoint() 174 inline double getY() const in getY() function in basegfx::B2DHomPoint 177 return maTuple.getY(); in getY() 212 maTuple.setY(getY() * rPnt.mfW + rPnt.getY() * mfW); in operator +=() 221 maTuple.setY(getY() * rPnt.mfW - rPnt.getY() * mfW); in operator -=() 278 std::min(rVecB.getY(), rVecA.getY())); in minimum() 285 std::max(rVecB.getY(), rVecA.getY())); in maximum() 292 fabs(rVec.getY())); in absolute() 313 ((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()); in interpolate() 321 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5); in average() [all …]
|
/aoo42x/main/canvas/source/tools/ |
H A D | surface.cxx | 84 const double ph( aPageSize.getY() ); in getUVCoords() 86 const double oy( aDestOffset.getY() ); in getUVCoords() 88 const double sy( maSize.getY() ); in getUVCoords() 106 const double ph( aPageSize.getY() ); in getUVCoords() 108 const double oy( rPos.getY() ); in getUVCoords() 110 const double sy( rSize.getY() ); in getUVCoords() 247 aPos1.setY(::std::max(aPos1.getY(),maSourceOffset.getY())); in drawRectangularArea() 249 aPos2.setY(::std::min(aPos2.getY(),maSourceOffset.getY()+maSize.getY())); in drawRectangularArea() 253 if(aSize.getX() <= 0 || aSize.getY() <= 0) in drawRectangularArea() 363 const double y1(maSourceOffset.getY()); in drawWithClip() [all …]
|
H A D | surfacerect.hxx | 64 const sal_Int32 y1(maPos.getY()); in pointInside() 66 const sal_Int32 y2(maPos.getY()+maSize.getY()); in pointInside() 78 const sal_Int32 y1(maPos.getY()); in hLineIntersect() 80 const sal_Int32 y2(maPos.getY()+maSize.getY()); in hLineIntersect() 92 const sal_Int32 y1(maPos.getY()); in vLineIntersect() 94 const sal_Int32 y2(maPos.getY()+maSize.getY()); in vLineIntersect() 106 const sal_Int32 y1(maPos.getY()); in intersection() 108 const sal_Int32 y2(maPos.getY()+maSize.getY()); in intersection() 119 const sal_Int32 y1(maPos.getY()); in inside() 121 const sal_Int32 y2(maPos.getY()+maSize.getY()); in inside()
|
/aoo42x/main/basegfx/source/curve/ |
H A D | b2dcubicbezier.cxx | 159 fFactor = aLeft.getY() / aBase.getY(); in ImpSubDivAngleStart() 178 fFactor = aRight.getY() / -aBase.getY(); in ImpSubDivAngleStart() 286 const double fJ1y(rfEA.getY() - rfPA.getY() - 1.0/3.0*(rfPB.getY() - rfPA.getY())); in ImpSubDivDistance() 288 const double fJ2y(rfEB.getY() - rfPA.getY() - 2.0/3.0*(rfPB.getY() - rfPA.getY())); in ImpSubDivDistance() 462 : aVecA.getY() / aEdge.getY()); in testAndSolveTrivialBezier() 484 : aVecB.getY() / aEdge.getY()); in testAndSolveTrivialBezier() 1009 double fCY = maControlPointA.getY() - maStartPoint.getY(); in getAllExtremumPositions() 1011 const double fAY = 3 * aControlDiff.getY() + (maEndPoint.getY() - maStartPoint.getY()); in getAllExtremumPositions() 1049 …- (3 * (maControlPointA.getY() - maControlPointB.getY()) + aRelativeEndPoint.getY()) * aRelativeEn… in getMaxDistancePositions() 1051 …- (maControlPointB.getY() - 2 * maControlPointA.getY() + maStartPoint.getY()) * aRelativeEndPoint.… in getMaxDistancePositions() [all …]
|
/aoo42x/main/basegfx/inc/basegfx/tuple/ |
H A D | b2i64tuple.hxx | 93 sal_Int64 getY() const in getY() function in basegfx::B2I64Tuple 207 std::min(rTupB.getY(), rTupA.getY())); in minimum() 214 std::max(rTupB.getY(), rTupA.getY())); in maximum() 221 (0 > rTup.getY()) ? -rTup.getY() : rTup.getY()); in absolute() 243 basegfx::fround64(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY())); in interpolate() 251 …rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround64((rOld1.getY() + rOld2.getY()) * 0.… in average() 258 …(rOld1.getY() == rOld2.getY() && rOld2.getY() == rOld3.getY()) ? rOld1.getY() : basegfx::fround64(… in average()
|
H A D | b2ituple.hxx | 94 sal_Int32 getY() const in getY() function in basegfx::B2ITuple 211 std::min(rTupB.getY(), rTupA.getY())); in minimum() 218 std::max(rTupB.getY(), rTupA.getY())); in maximum() 225 (0 > rTup.getY()) ? -rTup.getY() : rTup.getY()); in absolute() 247 basegfx::fround(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY())); in interpolate() 255 …rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround((rOld1.getY() + rOld2.getY()) * 0.5)… in average() 262 …(rOld1.getY() == rOld2.getY() && rOld2.getY() == rOld3.getY()) ? rOld1.getY() : basegfx::fround((r… in average()
|
H A D | b3i64tuple.hxx | 101 sal_Int64 getY() const in getY() function in basegfx::B3I64Tuple 238 std::min(rTupB.getY(), rTupA.getY()), in minimum() 246 std::max(rTupB.getY(), rTupA.getY()), in maximum() 254 (0 > rTup.getY()) ? -rTup.getY() : rTup.getY(), in absolute() 277 basegfx::fround64(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()), in interpolate() 286 …rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround64((rOld1.getY() + rOld2.getY()) * 0.… in average() 294 …(rOld1.getY() == rOld2.getY() && rOld2.getY() == rOld3.getY()) ? rOld1.getY() : basegfx::fround64(… in average()
|
H A D | b3ituple.hxx | 100 sal_Int32 getY() const in getY() function in basegfx::B3ITuple 237 std::min(rTupB.getY(), rTupA.getY()), in minimum() 245 std::max(rTupB.getY(), rTupA.getY()), in maximum() 253 (0 > rTup.getY()) ? -rTup.getY() : rTup.getY(), in absolute() 276 basegfx::fround(((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()), in interpolate() 285 …rOld1.getY() == rOld2.getY() ? rOld1.getY() : basegfx::fround((rOld1.getY() + rOld2.getY()) * 0.5), in average() 293 …(rOld1.getY() == rOld2.getY() && rOld2.getY() == rOld3.getY()) ? rOld1.getX() : basegfx::fround((r… in average()
|
H A D | b2dtuple.hxx | 104 double getY() const in getY() function in basegfx::B2DTuple 250 std::min(rTupB.getY(), rTupA.getY())); in minimum() 257 std::max(rTupB.getY(), rTupA.getY())); in maximum() 264 fabs(rTup.getY())); in absolute() 286 ((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY()); in interpolate() 294 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5); in average() 301 …(rOld1.getY() == rOld2.getY() && rOld2.getY() == rOld3.getY()) ? rOld1.getY() : (rOld1.getY() + rO… in average()
|
H A D | b3dtuple.hxx | 112 double getY() const in getY() function in basegfx::B3DTuple 319 std::min(rTupB.getY(), rTupA.getY()), in minimum() 327 std::max(rTupB.getY(), rTupA.getY()), in maximum() 335 fabs(rTup.getY()), in absolute() 358 ((rOld2.getY() - rOld1.getY()) * t) + rOld1.getY(), in interpolate() 367 rOld1.getY() == rOld2.getY() ? rOld1.getY() : (rOld1.getY() + rOld2.getY()) * 0.5, in average() 375 …(rOld1.getY() == rOld2.getY() && rOld2.getY() == rOld3.getY()) ? rOld1.getY() : (rOld1.getY() + rO… in average()
|
/aoo42x/main/drawinglayer/source/attribute/ |
H A D | sdrfillgraphicattribute.cxx | 297 if(0.0 != getSize().getY()) in createFillGraphicAttribute() 299 if(getSize().getY() < 0.0) in createFillGraphicAttribute() 301 aBitmapSize.setY(aBitmapSize.getY() * (getSize().getY() * -0.01)); in createFillGraphicAttribute() 305 aBitmapSize.setY(getSize().getY()); in createFillGraphicAttribute() 332 if(0.0 == getRectPoint().getY()) in createFillGraphicAttribute() 336 else if(1.0 == getRectPoint().getY()) in createFillGraphicAttribute() 338 aBitmapTopLeft.setY(fRangeHeight - aBitmapSize.getY()); in createFillGraphicAttribute() 342 if(getTiling() && 0.0 != getOffsetPosition().getY()) in createFillGraphicAttribute() 344 …aBitmapTopLeft.setY(aBitmapTopLeft.getY() + (aBitmapSize.getY() * (getOffsetPosition().getY() * 0.… in createFillGraphicAttribute() 349 aBitmapTopLeft.setY(aBitmapTopLeft.getY() / fRangeHeight); in createFillGraphicAttribute() [all …]
|
/aoo42x/main/basegfx/source/matrix/ |
H A D | b3dhommatrix.cxx | 399 aOrientationMat.set(1, 3, -aVRP.getY()); in orientation() 417 aOrientationMat.set(0, 1, aRx.getY()); in orientation() 420 aOrientationMat.set(1, 1, aRy.getY()); in orientation() 423 aOrientationMat.set(2, 1, aVPN.getY()); in orientation() 467 aTemp.setY(aCol1.getY() - rShear.getX() * aCol0.getY()); in decompose() 480 rShear.setX(rShear.getX() / rScale.getY()); in decompose() 486 if(fTools::equalZero(rShear.getY())) in decompose() 493 aTemp.setY(aCol2.getY() - rShear.getY() * aCol0.getY()); in decompose() 508 aTemp.setY(aCol2.getY() - rShear.getZ() * aCol1.getY()); in decompose() 517 const double fShearY(rShear.getY()); in decompose() [all …]
|
/aoo42x/main/basegfx/source/raster/ |
H A D | rasterconvert3d.cxx | 83 sal_Int32 nLineNumber(::std::max(aCurrentEntry->getY(), nStartLine)); in rasterconvertB3DArea() 90 const sal_Int32 nCurrentLineNumber(aCurrentEntry->getY()); in rasterconvertB3DArea() 165 sal_Int32 nYStart(fround(aStart.getY())); in addEdge() 166 sal_Int32 nYEnd(fround(aEnd.getY())); in addEdge() 236 B2DVector aVector(aEnd.getX() - aStart.getX(), aEnd.getY() - aStart.getY()); in rasterconvertB3DEdge() 243 …aPolygon.append(B3DPoint(aStart.getX() + aPerpend.getX(), aStart.getY() + aPerpend.getY(), fZStart… in rasterconvertB3DEdge() 244 …aPolygon.append(B3DPoint(aEnd.getX() + aPerpend.getX(), aEnd.getY() + aPerpend.getY(), fZEndWithAd… in rasterconvertB3DEdge() 245 …aPolygon.append(B3DPoint(aEnd.getX() - aPerpend.getX(), aEnd.getY() - aPerpend.getY(), fZEndWithAd… in rasterconvertB3DEdge() 246 …aPolygon.append(B3DPoint(aStart.getX() - aPerpend.getX(), aStart.getY() - aPerpend.getY(), fZStart… in rasterconvertB3DEdge() 256 sal_Int32 nYStart(fround(aStart.getY())); in rasterconvertB3DEdge() [all …]
|
/aoo42x/main/svx/source/engine3d/ |
H A D | dragmt3d.cxx | 361 basegfx::B3DPoint aRotCenter3D(aRotCenter2D.getX(), aRotCenter2D.getY(), 0.0); in E3dDragRotate() 369 maGlobalCenter.setY(aRotCenter3D.getY()); in E3dDragRotate() 613 double fZwi = aMoveHead3D.getY(); in MoveSdrDrag() 617 fZwi = aMoveTail3D.getY(); in MoveSdrDrag() 693 aScNext.setY(aScFixPos.getY()); in MoveSdrDrag() 717 if(aScaleVec.getY() != 0.0) in MoveSdrDrag() 719 aScaleVec.setY((aScNext.getY() - aScFixPos.getY()) / aScaleVec.getY()); in MoveSdrDrag() 729 if(fabs(aScaleVec.getX()) > fabs(aScaleVec.getY())) in MoveSdrDrag() 737 aScaleVec.setX(aScaleVec.getY()); in MoveSdrDrag() 749 aNewTrans.scale(aScaleVec.getX(), aScaleVec.getY(), aScaleVec.getZ()); in MoveSdrDrag() [all …]
|
/aoo42x/main/cppcanvas/source/mtfrenderer/ |
H A D | mtftools.cxx | 140 pScaling->getY() != 1.0 ); in modifyClip() 156 -rOffset.getY() ); in modifyClip() 192 -rOffset.getY() ); in modifyClip() 214 … (double)(aLocalClipRect.Top() - rOffset.getY())/pScaling->getY(), in modifyClip() 216 … (double)(aLocalClipRect.Bottom() - rOffset.getY())/pScaling->getY() ) ) ) ); in modifyClip() 341 const double y( rStartPos.getY() ); in appendRect() 462 rStartPos.getY() + rTextLineInfo.mnOverlineOffset, in createTextLinesPolyPolygon() 475 rStartPos.getY() + rTextLineInfo.mnOverlineOffset, in createTextLinesPolyPolygon() 486 rStartPos.getY() + rTextLineInfo.mnOverlineOffset, in createTextLinesPolyPolygon() 567 rStartPos.getY() + rTextLineInfo.mnUnderlineOffset, in createTextLinesPolyPolygon() [all …]
|
/aoo42x/main/basegfx/source/vector/ |
H A D | b2dvector.cxx | 63 mfY = rVec.getY(); in operator =() 89 return(mfX * rVec.getY() - mfY * rVec.getX()); in cross() 94 return atan2(mfX * rVec.getY() - mfY * rVec.getX(), in angle() 95 mfX * rVec.getX() + mfY * rVec.getY()); in angle() 145 const double fValA(rVecA.getX() * rVecB.getY()); in areParallel() 146 const double fValB(rVecA.getY() * rVecB.getX()); in areParallel() 153 double fVal(rVecA.getX() * rVecB.getY() - rVecA.getY() * rVecB.getX()); in getOrientation() 172 B2DVector aPerpendicular(-rNormalizedVec.getY(), rNormalizedVec.getX()); in getPerpendicular() 180 const double aTemp(-aPerpendicular.getY()); in getNormalizedPerpendicular() 199 …ector.getX(), -rForwardVector.getX()) && fTools::equal(rBackVector.getY(), -rForwardVector.getY())) in getContinuity()
|
/aoo42x/main/canvas/source/cairo/ |
H A D | cairo_spritecanvashelper.cxx | 239 cairo_rectangle( pCompositingCairo.get(), 0, 0, rSize.getX(), rSize.getY() ); in updateScreen() 258 cairo_rectangle( pWindowCairo.get(), 0, 0, rSize.getX(), rSize.getY() ); in updateScreen() 300 rSize.getY() ); in scrollUpdate() 357 aDestPos.getY() - aSourceUpperLeftPos.getY() ); in scrollUpdate() 359 aDestPos.getX(), aDestPos.getY(), in scrollUpdate() 400 cairo_rectangle( pWindowCairo.get(), 0, 0, rSize.getX(), rSize.getY() ); in scrollUpdate() 431 … cairo_rectangle( pCompositingCairo.get(), aPos.getX(), aPos.getY(), aSize.getX(), aSize.getY() ); in opaqueUpdate() 445 cairo_rectangle( pWindowCairo.get(), aPos.getX(), aPos.getY(), aSize.getX(), aSize.getY() ); in opaqueUpdate() 487 ::std::min( rSize.getY(), in genericUpdate() 523 rNeededSize.getY() < maCompositingSurfaceSize.getY() ) in getCompositingSurface() [all …]
|
/aoo42x/main/basegfx/source/tools/ |
H A D | gradienttools.cxx | 175 if(!fTools::equal(0.5, rOffset.getX()) || !fTools::equal(0.5, rOffset.getY())) in initEllipticalGradientInfo() 179 fTargetOffsetY += (rOffset.getY() - 0.5) * rTargetRange.getHeight(); in initEllipticalGradientInfo() 256 fTargetOffsetY += (rOffset.getY() - 0.5) * fTargetSizeY; in initRectGradientInfo() 371 if(aCoor.getY() <= 0.0) in getLinearGradientAlpha() 376 if(aCoor.getY() >= 1.0) in getLinearGradientAlpha() 385 return floor(aCoor.getY() * nSteps) / double(nSteps - 1); in getLinearGradientAlpha() 388 return aCoor.getY(); in getLinearGradientAlpha() 401 const double fAbsY(fabs(aCoor.getY())); in getAxialGradientAlpha() 422 … if(aCoor.getX() < -1.0 || aCoor.getX() > 1.0 || aCoor.getY() < -1.0 || aCoor.getY() > 1.0) in getRadialGradientAlpha() 427 const double t(1.0 - sqrt(aCoor.getX() * aCoor.getX() + aCoor.getY() * aCoor.getY())); in getRadialGradientAlpha() [all …]
|
/aoo42x/main/drawinglayer/source/texture/ |
H A D | texture3d.cxx | 106 mfMulY = (double)mpReadBitmap->Height() / maSize.getY(); in GeoTexSvxBitmapEx() 113 if(maSize.getY() <= 1.0) in GeoTexSvxBitmapEx() 175 rY = (sal_Int32)((rUV.getY() - maTopLeft.getY()) * mfMulY); in impIsValid() 257 double fY(rUV.getY() - maTopLeft.getY()); in impGetCorrected() 261 …onst sal_Int32 nCol(static_cast< sal_Int32 >((fY < 0.0 ? maSize.getY() -fY : fY) / maSize.getY())); in impGetCorrected() 274 fY += mfOffsetY * maSize.getY(); in impGetCorrected() 279 fY = fmod(fY, maSize.getY()); in impGetCorrected() 288 fY += maSize.getY(); in impGetCorrected() 291 return basegfx::B2DPoint(fX + maTopLeft.getX(), fY + maTopLeft.getY()); in impGetCorrected() 340 …ge aOutlineRange(0.0, 0.0, rPrimitive.getTextureSize().getX(), rPrimitive.getTextureSize().getY()); in GeoTexSvxMultiHatch()
|