/aoo4110/main/basegfx/test/ |
H A D | basegfxtools.cxx | 72 double fAlpha; in test() local 75 tie(nIndex,fAlpha) = maKeyStops.lerp(-1.0); in test() 76 CPPUNIT_ASSERT_MESSAGE("-1.0", nIndex==0 && fAlpha==0.0); in test() 78 tie(nIndex,fAlpha) = maKeyStops.lerp(0.1); in test() 79 CPPUNIT_ASSERT_MESSAGE("0.1", nIndex==0 && fAlpha==0.0); in test() 81 tie(nIndex,fAlpha) = maKeyStops.lerp(0.3); in test() 84 tie(nIndex,fAlpha) = maKeyStops.lerp(0.5); in test() 87 tie(nIndex,fAlpha) = maKeyStops.lerp(0.51); in test() 90 tie(nIndex,fAlpha) = maKeyStops.lerp(0.9); in test() 93 tie(nIndex,fAlpha) = maKeyStops.lerp(1.0); in test() [all …]
|
/aoo4110/main/sc/source/core/tool/ |
H A D | interpr6.cxx | 150 double ScInterpreter::GetGammaDistPDF( double fX, double fAlpha, double fLambda ) in GetGammaDistPDF() argument 162 if (log(fXr) * (fAlpha-1.0) < fLogDblMax && fAlpha < fMaxGammaArgument) in GetGammaDistPDF() 164 return pow( fXr, fAlpha-1.0) * exp(-fXr) / fLambda / GetGamma(fAlpha); in GetGammaDistPDF() 168 return exp( (fAlpha-1.0) * log(fXr) - fXr - log(fLambda) - GetLogGamma(fAlpha)); in GetGammaDistPDF() 173 if (fAlpha<fMaxGammaArgument) in GetGammaDistPDF() 175 return pow( fXr, fAlpha-1.0) * exp(-fXr) / fLambda / GetGamma(fAlpha); in GetGammaDistPDF() 179 return pow( fXr, fAlpha-1.0) * exp(-fXr) / fLambda / exp( GetLogGamma(fAlpha)); in GetGammaDistPDF() 188 double ScInterpreter::GetGammaDist( double fX, double fAlpha, double fLambda ) in GetGammaDist() argument 194 return GetLowRegIGamma( fAlpha, fX / fLambda); in GetGammaDist()
|
H A D | interpr3.cxx | 838 if (fAlpha > fBeta) in GetBeta() 840 fA = fAlpha; fB = fBeta; in GetBeta() 844 fA = fBeta; fB = fAlpha; in GetBeta() 871 if (fAlpha > fBeta) in GetLogBeta() 873 fA = fAlpha; fB = fBeta; in GetLogBeta() 877 fA = fBeta; fB = fAlpha; in GetLogBeta() 1029 if (fAlpha == 1.0) in GetBetaDist() 1040 double fA = fAlpha; in GetBetaDist() 1042 bool bReflect = fXin > fAlpha/(fAlpha+fBeta); in GetBetaDist() 1046 fB = fAlpha; in GetBetaDist() [all …]
|
/aoo4110/main/canvas/source/cairo/ |
H A D | cairo_canvashelper.cxx | 862 double fAlpha; in doOperation() local 1618 if( fAlpha == 0.0 ) in convertToRGB() 1621 *pOut++ = rendering::RGBColor(pIn[2]/fAlpha,pIn[1]/fAlpha,pIn[0]/fAlpha); in convertToRGB() 1639 if( fAlpha == 0.0 ) in convertToARGB() 1642 … *pOut++ = rendering::ARGBColor(fAlpha,pIn[2]/fAlpha,pIn[1]/fAlpha,pIn[0]/fAlpha); in convertToARGB() 1792 if( fAlpha ) in convertIntegerToRGB() 1794 pIn[2]/fAlpha, in convertIntegerToRGB() 1795 pIn[1]/fAlpha, in convertIntegerToRGB() 1817 if( fAlpha ) in convertIntegerToARGB() 1819 fAlpha/255.0, in convertIntegerToARGB() [all …]
|
H A D | cairo_spritehelper.cxx | 101 const double fAlpha( getAlpha() ); in redraw() local 104 if( isActive() && !::basegfx::fTools::equalZero( fAlpha ) ) { in redraw() 161 if( ::rtl::math::approxEqual( fAlpha, 1.0 ) ) in redraw() 164 cairo_paint_with_alpha( pCairo.get(), fAlpha ); in redraw()
|
/aoo4110/main/canvas/source/vcl/ |
H A D | canvashelper_texturefill.cxx | 219 double fAlpha; in fillLinearGradient() local 220 boost::tuples::tie(nIndex,fAlpha)=aLerper.lerp(double(i)/nStepCount); in fillLinearGradient() 223 …lor( (sal_uInt8)(basegfx::tools::lerp(rColors[nIndex].GetRed(),rColors[nIndex+1].GetRed(),fAlpha)), in fillLinearGradient() 224 … (sal_uInt8)(basegfx::tools::lerp(rColors[nIndex].GetGreen(),rColors[nIndex+1].GetGreen(),fAlpha)), in fillLinearGradient() 225 …(sal_uInt8)(basegfx::tools::lerp(rColors[nIndex].GetBlue(),rColors[nIndex+1].GetBlue(),fAlpha)) )); in fillLinearGradient() 385 double fAlpha; in fillPolygonalGradient() local 386 boost::tuples::tie(nIndex,fAlpha)=aLerper.lerp(fT); in fillPolygonalGradient() 390 …lor( (sal_uInt8)(basegfx::tools::lerp(rColors[nIndex].GetRed(),rColors[nIndex+1].GetRed(),fAlpha)), in fillPolygonalGradient() 443 double fAlpha; in fillPolygonalGradient() local 444 boost::tuples::tie(nIndex,fAlpha)=aLerper.lerp(fT); in fillPolygonalGradient() [all …]
|
H A D | spritehelper.cxx | 110 const double fAlpha( getAlpha() ); in redraw() local 113 !::basegfx::fTools::equalZero( fAlpha ) ) in redraw() 309 ::rtl::math::approxEqual(fAlpha, 1.0) && in redraw() 354 if( ::rtl::math::approxEqual(fAlpha, 1.0) ) in redraw() 368 … sal_uInt8 nColor( static_cast<sal_uInt8>( ::basegfx::fround( 255.0*(1.0 - fAlpha) + .5) ) ); in redraw()
|
/aoo4110/main/canvas/source/directx/ |
H A D | dx_spritehelper.cxx | 126 const double fAlpha( getAlpha() ); in redraw() local 129 !::basegfx::fTools::equalZero( fAlpha ) ) in redraw() 141 const double fAlpha( getAlpha() ); in redraw() local 182 mpBitmap->draw(fAlpha,rPos,rTransform); in redraw() 193 mpBitmap->draw(fAlpha,rPos,aClipBounds,rTransform); in redraw() 200 mpBitmap->draw(fAlpha,rPos,aClipPath,rTransform); in redraw()
|
H A D | dx_surfacebitmap.cxx | 398 bool DXSurfaceBitmap::draw( double fAlpha, in draw() argument 409 return mpSurfaceProxy->draw( fAlpha, rPos, rClipPoly, rTransform ); in draw() 416 bool DXSurfaceBitmap::draw( double fAlpha, in draw() argument 427 return mpSurfaceProxy->draw( fAlpha, rPos, rArea, rTransform ); in draw() 434 bool DXSurfaceBitmap::draw( double fAlpha, in draw() argument 444 return mpSurfaceProxy->draw( fAlpha, rPos, rTransform ); in draw() 459 const double fAlpha(1.0); in draw() local 462 return mpSurfaceProxy->draw(fAlpha, in draw()
|
H A D | dx_canvashelper_texturefill.cxx | 336 double fAlpha; in fillPolygonalGradient() local 338 boost::tuples::tie(nIndex,fAlpha)=aLerper.lerp(fT); in fillPolygonalGradient() 341 …tic_cast<BYTE>( basegfx::tools::lerp(rColors[nIndex].GetRed(),rColors[nIndex+1].GetRed(),fAlpha) ), in fillPolygonalGradient() 342 …cast<BYTE>( basegfx::tools::lerp(rColors[nIndex].GetGreen(),rColors[nIndex+1].GetGreen(),fAlpha) ), in fillPolygonalGradient() 343 …cast<BYTE>( basegfx::tools::lerp(rColors[nIndex].GetBlue(),rColors[nIndex+1].GetBlue(),fAlpha) ) ); in fillPolygonalGradient()
|
H A D | dx_surfacebitmap.hxx | 55 bool draw( double fAlpha, 61 bool draw( double fAlpha, 66 bool draw( double fAlpha,
|
/aoo4110/main/basebmp/inc/basebmp/ |
H A D | colortraits.hxx | 53 const typename vigra::NumericTraits<AlphaType>::RealPromote fAlpha( in operator ()() local 55 return (vigra::NumericTraits<AlphaType>::one()-fAlpha)*v1 + fAlpha*v2; in operator ()() 66 const typename vigra::NumericTraits<AlphaType>::RealPromote fAlpha( in operator ()() local 68 return fAlpha*v1 + (vigra::NumericTraits<AlphaType>::one()-fAlpha)*v2; in operator ()()
|
/aoo4110/main/canvas/source/tools/ |
H A D | surfaceproxy.cxx | 106 bool SurfaceProxy::draw( double fAlpha, in draw() argument 114 fAlpha, in draw() 125 bool SurfaceProxy::draw( double fAlpha, in draw() argument 134 fAlpha, in draw() 146 bool SurfaceProxy::draw( double fAlpha, in draw() argument 171 fAlpha, in draw()
|
H A D | surface.cxx | 122 bool Surface::draw( double fAlpha, in draw() argument 187 vertex.a = static_cast<float>(fAlpha); in draw() 223 double fAlpha, in drawRectangularArea() argument 313 vertex.a = static_cast<float>(fAlpha); in drawRectangularArea() 348 bool Surface::drawWithClip( double fAlpha, in drawWithClip() argument 419 vertex.a = static_cast<float>(fAlpha); in drawWithClip()
|
H A D | surfaceproxy.hxx | 68 virtual bool draw( double fAlpha, 88 virtual bool draw( double fAlpha, 108 virtual bool draw( double fAlpha,
|
H A D | surface.hxx | 75 bool draw( double fAlpha, 96 double fAlpha, 116 bool drawWithClip( double fAlpha,
|
/aoo4110/main/basegfx/source/tools/ |
H A D | keystoplerp.cxx | 70 KeyStopLerp::ResultType KeyStopLerp::lerp(double fAlpha) const in lerp() 73 if( maKeyStops.at(mnLastIndex) < fAlpha || in lerp() 74 maKeyStops.at(mnLastIndex+1) >= fAlpha ) in lerp() 85 fAlpha )) - 1 )); in lerp() 90 (fAlpha-maKeyStops.at(mnLastIndex)) / in lerp()
|
/aoo4110/main/slideshow/source/engine/activities/ |
H A D | continuouskeytimeactivitybase.cxx | 61 double fAlpha( calcAcceleratedTime( nSimpleTime ) ); in simplePerform() local 64 boost::tuples::tie(nIndex,fAlpha) = maLerper.lerp(fAlpha); in simplePerform() 68 fAlpha, in simplePerform()
|
/aoo4110/main/vcl/unx/generic/gdi/ |
H A D | xrender_peer.hxx | 372 const double fAlpha = 1.0 - fTransparency; in GetXRenderColor() local 373 aRetVal.alpha = static_cast<sal_uInt16>(fAlpha * 0xFFFF + 0.5); in GetXRenderColor() 375 aRetVal.red = static_cast<sal_uInt16>(fAlpha * aRetVal.red + 0.5); in GetXRenderColor() 376 aRetVal.green = static_cast<sal_uInt16>(fAlpha * aRetVal.green + 0.5); in GetXRenderColor() 377 aRetVal.blue = static_cast<sal_uInt16>(fAlpha * aRetVal.blue + 0.5); in GetXRenderColor()
|
/aoo4110/main/basegfx/source/color/ |
H A D | bcolormodifier.cxx | 91 …const double fAlpha(1.0 - ((aSourceColor.getRed() * 0.2125) + (aSourceColor.getGreen() * 0.7154) +… in getModifiedColor() local 93 return ::basegfx::BColor(fAlpha, fAlpha, fAlpha); in getModifiedColor()
|
/aoo4110/main/canvas/inc/canvas/rendering/ |
H A D | isurfaceproxy.hxx | 60 virtual bool draw( double fAlpha, 80 virtual bool draw( double fAlpha, 100 virtual bool draw( double fAlpha,
|
H A D | bitmap.hxx | 115 bool draw( double fAlpha, 136 bool draw( double fAlpha, 157 bool draw( double fAlpha,
|
/aoo4110/main/vcl/inc/aqua/ |
H A D | salgdi.h | 90 RGBAColor( float fRed, float fGreen, float fBlue, float fAlpha ); //NOTUSEDYET 91 void SetAlpha( float fAlpha ) { mfRGBA[3] = fAlpha; } in SetAlpha() argument 467 inline RGBAColor::RGBAColor( float fRed, float fGreen, float fBlue, float fAlpha ) in RGBAColor() argument 472 mfRGBA[3] = fAlpha; in RGBAColor()
|
/aoo4110/main/vcl/source/gdi/ |
H A D | outdev4.cxx | 317 double fAlpha = 0.0; in ImplDrawLinearGradient() local 327 fAlpha = ((double)i) / fStepsMinus1; in ImplDrawLinearGradient() 328 fTempColor = ((double)nStartRed) * (1.0-fAlpha) + ((double)nEndRed) * fAlpha; in ImplDrawLinearGradient() 330 fTempColor = ((double)nStartGreen) * (1.0-fAlpha) + ((double)nEndGreen) * fAlpha; in ImplDrawLinearGradient() 332 fTempColor = ((double)nStartBlue) * (1.0-fAlpha) + ((double)nEndBlue) * fAlpha; in ImplDrawLinearGradient()
|
/aoo4110/main/tools/source/generic/ |
H A D | line.cxx | 105 const double fAlpha = fA / fDen; in Intersection() local 107 rIntersectionX = ( maStart.X() + fAlpha * fAx ); in Intersection() 108 rIntersectionY = ( maStart.Y() + fAlpha * fAy ); in Intersection()
|