Home
last modified time | relevance | path

Searched refs:clamp (Results 1 – 24 of 24) sorted by relevance

/trunk/main/basegfx/source/color/
H A Dbcolormodifier.cxx226 aRetval.clamp(); in getModifiedColor()
242 mfRed(basegfx::clamp(fRed, -1.0, 1.0)), in BColorModifier_RGBLuminanceContrast()
243 mfGreen(basegfx::clamp(fGreen, -1.0, 1.0)), in BColorModifier_RGBLuminanceContrast()
244 mfBlue(basegfx::clamp(fBlue, -1.0, 1.0)), in BColorModifier_RGBLuminanceContrast()
245 mfLuminance(basegfx::clamp(fLuminance, -1.0, 1.0)), in BColorModifier_RGBLuminanceContrast()
246 mfContrast(basegfx::clamp(fContrast, -1.0, 1.0)), in BColorModifier_RGBLuminanceContrast()
308 basegfx::clamp(aSourceColor.getRed() * mfContrastOff + mfRedOff, 0.0, 1.0), in getModifiedColor()
309 basegfx::clamp(aSourceColor.getGreen() * mfContrastOff + mfGreenOff, 0.0, 1.0), in getModifiedColor()
310 basegfx::clamp(aSourceColor.getBlue() * mfContrastOff + mfBlueOff, 0.0, 1.0)); in getModifiedColor()
/trunk/main/drawinglayer/source/primitive2d/
H A Dgraphicprimitive2d.cxx138 basegfx::clamp(aSuppressGraphicAttr.GetLuminance() * 0.01, -1.0, 1.0), in create2DDecomposition()
139 basegfx::clamp(aSuppressGraphicAttr.GetContrast() * 0.01, -1.0, 1.0), in create2DDecomposition()
140 basegfx::clamp(aSuppressGraphicAttr.GetChannelR() * 0.01, -1.0, 1.0), in create2DDecomposition()
141 basegfx::clamp(aSuppressGraphicAttr.GetChannelG() * 0.01, -1.0, 1.0), in create2DDecomposition()
142 basegfx::clamp(aSuppressGraphicAttr.GetChannelB() * 0.01, -1.0, 1.0), in create2DDecomposition()
143 basegfx::clamp(aSuppressGraphicAttr.GetGamma(), 0.0, 10.0), in create2DDecomposition()
156 …const double fTransparency(basegfx::clamp(getGraphicAttr().GetTransparency() * (1.0 / 255.0), 0.0,… in create2DDecomposition()
H A Dgraphicprimitivehelper2d.cxx835 fLuminance = basegfx::clamp(fLuminance + 0.5, -1.0, 1.0); in create2DColorModifierEmbeddingsAsNeeded()
836 fContrast = basegfx::clamp(fContrast - 0.7, -1.0, 1.0); in create2DColorModifierEmbeddingsAsNeeded()
/trunk/main/slideshow/source/engine/OGLTrans/
H A DOGLTrans_TransitionImpl.cxx500 inline basegfx::B2DVector clamp(const basegfx::B2DVector& v) in clamp() function
507 inline basegfx::B3DVector clamp(const basegfx::B3DVector& v) in clamp() function
616 …EnteringSlide.pushTriangle(clamp(Radius*unScaledTexCoords[Side])/2.0 + basegfx::B2DVector(0.5,0.5)… in makeRevolvingCircles()
617clamp(Radius*unScaledTexCoords[Side])/2.0 + basegfx::B2DVector(0.5,0.5) , LastRadius*unScaledTexCo… in makeRevolvingCircles()
619 …LeavingSlide.pushTriangle(clamp(Radius*unScaledTexCoords[Side])/2.0 + basegfx::B2DVector(0.5,0.5) … in makeRevolvingCircles()
620clamp(Radius*unScaledTexCoords[Side])/2.0 + basegfx::B2DVector(0.5,0.5) , LastRadius*unScaledTexCo… in makeRevolvingCircles()
623 …EnteringSlide.pushTriangle(clamp(Radius*unScaledTexCoords[nPointsOnCircles - 1])/2.0 + basegfx::B2… in makeRevolvingCircles()
624clamp(Radius*unScaledTexCoords[nPointsOnCircles - 1])/2.0 + basegfx::B2DVector(0.5,0.5) , LastRadi… in makeRevolvingCircles()
626 …LeavingSlide.pushTriangle(clamp(Radius*unScaledTexCoords[nPointsOnCircles - 1])/2.0 + basegfx::B2D… in makeRevolvingCircles()
627clamp(Radius*unScaledTexCoords[nPointsOnCircles - 1])/2.0 + basegfx::B2DVector(0.5,0.5) , LastRadi… in makeRevolvingCircles()
/trunk/main/basegfx/inc/basegfx/color/
H A Dbcolor.hxx197 BColor& clamp() in clamp() function in basegfx::BColor
199 mfX = basegfx::clamp(mfX, 0.0, 1.0); in clamp()
200 mfY = basegfx::clamp(mfY, 0.0, 1.0); in clamp()
201 mfZ = basegfx::clamp(mfZ, 0.0, 1.0); in clamp()
/trunk/main/svx/source/sdr/overlay/
H A Doverlayrectangle.cxx52 aColor.clamp(); in createOverlayObjectPrimitive2DSequence()
57 aColor.clamp(); in createOverlayObjectPrimitive2DSequence()
/trunk/main/drawinglayer/source/attribute/
H A Dfillgraphicattribute.cxx117 basegfx::clamp(fOffsetX, 0.0, 1.0), in FillGraphicAttribute()
118 basegfx::clamp(fOffsetY, 0.0, 1.0))) in FillGraphicAttribute()
H A Dsdrfillgraphicattribute.cxx355 const double fOffsetX(basegfx::clamp(getOffset().getX() * 0.01, 0.0, 1.0)); in createFillGraphicAttribute()
356 const double fOffsetY(basegfx::clamp(getOffset().getY() * 0.01, 0.0, 1.0)); in createFillGraphicAttribute()
H A Dsdrlightingattribute3d.cxx213 aRetval.clamp(); in solveColorModel()
/trunk/main/drawinglayer/source/texture/
H A Dtexture3d.cxx300 mfOffsetX(basegfx::clamp(fOffsetX, 0.0, 1.0)), in GeoTexSvxBitmapExTiled()
301 mfOffsetY(basegfx::clamp(fOffsetY, 0.0, 1.0)), in GeoTexSvxBitmapExTiled()
H A Dtexture.cxx717 mfOffsetX(basegfx::clamp(fOffsetX, 0.0, 1.0)), in GeoTexSvxTiled()
718 mfOffsetY(basegfx::clamp(fOffsetY, 0.0, 1.0)) in GeoTexSvxTiled()
/trunk/main/sw/source/ui/docvw/
H A DAnchorOverlayObject.cxx170 aLighterColor.clamp(); in create2DDecomposition()
171 aDarkerColor.clamp(); in create2DDecomposition()
/trunk/main/basegfx/source/tools/
H A Dkeystoplerp.cxx97 clamp(fRawLerp,0.0,1.0)); in lerp()
/trunk/main/slideshow/source/engine/activities/
H A Dactivitybase.cxx158 nT = ::basegfx::clamp( nT, 0.0, 1.0 ); in calcAcceleratedTime()
/trunk/main/basegfx/inc/basegfx/numeric/
H A Dftools.hxx109 template <class T> inline const T& clamp(const T& value, const T& minimum, const T& maximum) in clamp() function
/trunk/main/svx/source/sdr/attribute/
H A Dsdrallfillattributeshelper.cxx236 return aRetval.clamp(); in getAverageColor()
/trunk/main/slideshow/source/engine/animationnodes/
H A Danimationbasenode.cxx485 const sal_Int32 nMinFrameCount (basegfx::clamp<sal_Int32>( in fillCommonParameters()
/trunk/main/svx/source/unodraw/
H A Dunobrushitemhelper.cxx273 …nFillTransparence = basegfx::clamp((sal_uInt16)((nFillTransparence / 2) + 50), (sal_uInt16)0, (sal… in getSvxBrushItemFromSourceSet()
/trunk/main/svx/source/customshapes/
H A DEnhancedCustomShape2d.cxx1095 …return Color( (sal_uInt8)static_cast< sal_Int32 >( basegfx::clamp(aHSVColor.getRed(),0.0,1.0) * 25… in GetColorData()
1096 … (sal_uInt8)static_cast< sal_Int32 >( basegfx::clamp(aHSVColor.getGreen(),0.0,1.0) * 255.0 + 0.5 ), in GetColorData()
1097 …(sal_uInt8)static_cast< sal_Int32 >( basegfx::clamp(aHSVColor.getBlue(),0.0,1.0) * 255.0 + 0.5 ) ); in GetColorData()
/trunk/main/slideshow/source/engine/shapes/
H A Dviewshape.cxx459 ::basegfx::clamp(pAttr->getAlpha(), in renderSprite()
/trunk/main/drawinglayer/source/processor3d/
H A Dzbufferprocessor3d.cxx422 aNewColor.clamp(); in processLineSpan()
/trunk/main/sd/source/ui/slidesorter/view/
H A DSlsButtonBar.cxx157 const sal_Int32 nNewValue (::basegfx::clamp<sal_Int32>( in AdaptTransparency()
/trunk/main/svgio/source/svgreader/
H A Dsvgstyleattributes.cxx1806 … setOpacity(SvgNumber(basegfx::clamp(aNum.getNumber(), 0.0, 1.0), aNum.getUnit(), aNum.isSet())); in parseStyleAttribute()
/trunk/main/sd/source/ui/slideshow/
H A Dslideshowimpl.cxx2001 fUpdate = ::basegfx::clamp(fUpdate, mnMinimumTimeout, mnMaximumTimeout); in updateSlideShow()

Completed in 333 milliseconds