/trunk/main/basegfx/inc/basegfx/pixel/ |
H A D | bpixel.hxx | 80 maPixelUnion.maRGBO.mnR = sal_uInt8((rColor.getRed() * 255.0) + 0.5); in BPixel() 103 sal_uInt8 getRed() const { return maPixelUnion.maRGBO.mnR; } in getRed() function in basegfx::BPixel 143 std::min(rTupB.getRed(), rTupA.getRed()), in minimum() 152 std::max(rTupB.getRed(), rTupA.getRed()), in maximum() 178 … (sal_uInt8)(((sal_uInt32)rOld1.getRed() * nNegFac + (sal_uInt32)rOld2.getRed() * nFactor) >> 8L), in interpolate() 188 …rOld1.getRed() == rOld2.getRed() ? rOld1.getRed() : (sal_uInt8)(((sal_uInt32)rOld1.getRed() + (sal… in average() 197 …getRed() == rOld2.getRed() && rOld2.getRed() == rOld3.getRed()) ? rOld1.getRed() : (sal_uInt8)(((s… in average()
|
/trunk/main/basebmp/inc/basebmp/ |
H A D | color.hxx | 54 sal_uInt8 getRed() const { return 0xFF & (sal_uInt8)(mnColor >> 16); } in getRed() function in basebmp::Color 60 getRed()*77) / 256); } in getGreyscale() 66 Color operator^( Color col ) const { return Color(col.getRed()^getRed(), in operator ^() 69 Color operator-( Color col ) const { return Color((sal_uInt8)abs((int)getRed()-col.getRed()), in operator -() 72 Color operator+( Color col ) const { return Color(getRed()+col.getRed(), in operator +() 75 …Color operator*( Color col ) const { return Color((sal_uInt8)((sal_uInt32)col.getRed()*getRed()/SA… in operator *() 78 …Color operator*( sal_uInt8 n ) const { return Color((sal_uInt8)((sal_uInt32)n*getRed()/SAL_MAX_UIN… in operator *() 81 Color operator*( double n ) const { return Color((sal_uInt8)(n*getRed()+.5), in operator *() 84 bool operator==( const Color& rhs ) const { return (getRed()==rhs.getRed() && in operator ==() 88 double magnitude() const { return sqrt((double)getRed()*getRed() in magnitude()
|
H A D | colormisc.hxx | 76 const sal_uInt8 v1_red( v1.getRed() ); in operator ()() 83 return Color(((((sal_Int32)v2.getRed() - v1_red)*alpha) / 0x100) + v1_red, in operator ()() 99 const sal_uInt8 v1_red( v1.getRed() ); in operator ()() 106 return Color(((((sal_Int32)v2.getRed() - v1_red)*alpha) / 0x100) + v1_red, in operator ()()
|
H A D | rgb24pixelformats.hxx | 54 res.setRed(c.getRed()); in operator ()()
|
H A D | rgbmaskpixelformats.hxx | 176 const typename base_type::unsigned_pixel_type red (c.getRed()); in operator ()()
|
H A D | truecolormaskaccessor.hxx | 161 const unsigned_data_type red (v.getRed()); in toPacked()
|
/trunk/main/slideshow/source/engine/ |
H A D | color.cxx | 226 double HSLColor::getRed() const in getRed() function in slideshow::internal::HSLColor 266 maRGBTriple.mnRed = rLHS.getRed(); in RGBColor() 273 maRGBTriple.mnRed = rLHS.getRed(); in operator =() 387 return rgb2hsl( getRed(), in getHue() 394 return rgb2hsl( getRed(), in getSaturation() 401 return rgb2hsl( getRed(), in getLuminance() 406 double RGBColor::getRed() const in getRed() function in slideshow::internal::RGBColor 439 return RGBColor( rLHS.getRed() + rRHS.getRed(), in operator +() 446 return RGBColor( rLHS.getRed() * rRHS.getRed(), in operator *() 453 return RGBColor( nFactor * rRHS.getRed(), in operator *() [all …]
|
/trunk/main/basegfx/source/color/ |
H A D | bcolortools.cxx | 37 const double r=rRGBColor.getRed(), g=rRGBColor.getGreen(), b=rRGBColor.getBlue(); in rgb2hsl() 92 const double h=rHSLColor.getRed(), s=rHSLColor.getGreen(), l=rHSLColor.getBlue(); in hsl2rgb() 114 const double r=rRGBColor.getRed(), g=rRGBColor.getGreen(), b=rRGBColor.getBlue(); in rgb2hsv() 153 double h=rHSVColor.getRed(); in hsv2rgb() 204 const double r=rRGBColor.getRed(), g=rRGBColor.getGreen(), b=rRGBColor.getBlue(); in rgb2yiq() 214 const double y=rYIQColor.getRed(), i=rYIQColor.getGreen(), q=rYIQColor.getBlue(); in yiq2rgb() 225 const double x=rXYZColor.getRed(), y=rXYZColor.getGreen(), z=rXYZColor.getBlue(); in ciexyz2rgb() 236 const double r=rRGBColor.getRed(), g=rRGBColor.getGreen(), b=rRGBColor.getBlue(); in rgb2ciexyz() 245 const double r=rRGBColor.getRed(), g=rRGBColor.getGreen(), b=rRGBColor.getBlue(); in rgb2ypbpr() 254 const double y=rYPbPrColor.getRed(), pb=rYPbPrColor.getGreen(), pr=rYPbPrColor.getBlue(); in ypbpr2rgb()
|
H A D | bcolormodifier.cxx | 72 …return ::basegfx::BColor(1.0 - aSourceColor.getRed(), 1.0 - aSourceColor.getGreen(), 1.0 - aSource… in getModifiedColor() 91 …const double fAlpha(1.0 - ((aSourceColor.getRed() * 0.2125) + (aSourceColor.getGreen() * 0.7154) +… in getModifiedColor() 222 pow(aSourceColor.getRed(), mfInvValue), in getModifiedColor() 296 return getRed() == pCompare->getRed() in operator ==() 308 basegfx::clamp(aSourceColor.getRed() * mfContrastOff + mfRedOff, 0.0, 1.0), in getModifiedColor()
|
/trunk/main/basegfx/inc/basegfx/color/ |
H A D | bcolor.hxx | 103 double getRed() const { return mfX; } in getRed() function in basegfx::BColor 147 mfX = rColor.getRed() * fLuminance; in blend() 163 …st BColor& rColor) const { return (getRed() > rColor.getRed() ? getRed() - rColor.getRed() : rColo… in getDistanceRed()
|
H A D | bcolormodifier.hxx | 360 double getRed() const { return mfRed; } in getRed() function in basegfx::BColorModifier_RGBLuminanceContrast
|
/trunk/main/basebmp/test/ |
H A D | bmpdemo.cxx | 1016 if( rFrom.getRed() < rTo.getRed() ) in approachColor() 1018 nDiff = rTo.getRed() - rFrom.getRed(); in approachColor() 1019 aColor.setRed( rFrom.getRed() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor() 1021 else if( rFrom.getRed() > rTo.getRed() ) in approachColor() 1023 nDiff = rFrom.getRed() - rTo.getRed(); in approachColor() 1024 aColor.setRed( rFrom.getRed() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor() 1027 aColor.setRed( rFrom.getRed() ); in approachColor() 1158 if( aApproachColor.getRed() ) in Paint()
|
H A D | basictest.cxx | 79 ASSERT_TRUE( aTestColor.getRed() == 0x10 ) << "getRed()"; in TEST_F()
|
/trunk/main/toolkit/test/accessibility/ |
H A D | CanvasShape.java | 92 maFgColor = new Color (aCol.getRed (), in update() 97 maBgColor = new Color (aCol.getRed (), in update() 148 color = new Color (maFgColor.getRed(), maFgColor.getGreen(), maFgColor.getBlue()); in paint()
|
/trunk/main/accessibility/workben/org/openoffice/accessibility/awb/canvas/ |
H A D | CanvasShape.java | 118 maFgColor = new Color (aCol.getRed (), in Update() 123 maBgColor = new Color (aCol.getRed (), in Update() 181 color = new Color (maFgColor.getRed(), maFgColor.getGreen(), maFgColor.getBlue()); in paint()
|
/trunk/main/basegfx/inc/basegfx/raster/ |
H A D | rasterconvert3d.hxx | 148 double aDeltaRed(rB.getRed() - rA.getRed()); in addColorInterpolator() 183 rA.getRed(), aDeltaRed, in addColorInterpolator()
|
/trunk/main/drawinglayer/source/processor3d/ |
H A D | zbufferprocessor3d.cxx | 87 nRed = nRed + rPixel.getRed(); in BPixelRasterToBitmapEx() 121 pContent->SetPixel(y, x, BitmapColor(rPixel.getRed(), rPixel.getGreen(), rPixel.getBlue())); in BPixelRasterToBitmapEx() 439 …rDest.setRed((sal_uInt8)(((rDest.getRed() * nTransparence) + ((sal_uInt16)(255.0 * aNewColor.getRe… in processLineSpan()
|
/trunk/main/xmerge/source/wordsmith/java/org/openoffice/xmerge/converter/xml/sxw/wordsmith/ |
H A D | WseColorTable.java | 159 b[i++] = (byte)fgColors[j].getRed(); in getBytes() 172 b[i++] = (byte)bgColors[j].getRed(); in getBytes()
|
/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/util/ |
H A D | ColourConverter.java | 255 int red = colour.getRed(); in convertFromRGB() 431 matchedRGB += getClosest(c.getRed(), points) << 16; in isGrey()
|
/trunk/main/cppcanvas/source/tools/ |
H A D | tools.cxx | 41 aRes[0] = getRed(aColor) / 255.0; in intSRGBAToDoubleSequence()
|
/trunk/main/slideshow/source/inc/ |
H A D | hslcolor.hxx | 68 double getRed() const;
|
H A D | rgbcolor.hxx | 68 double getRed() const;
|
/trunk/main/cppcanvas/inc/cppcanvas/ |
H A D | color.hxx | 54 inline sal_uInt8 getRed( Color::IntSRGBA nCol ) in getRed() function
|
/trunk/main/vcl/source/gdi/ |
H A D | bitmapex.cxx | 1107 *pScan++ = static_cast< sal_uInt8 >(aBDest.getRed() * 255.0); in ModifyBitmapEx() 1124 *pScan++ = static_cast< sal_uInt8 >(aBDest.getRed() * 255.0); in ModifyBitmapEx()
|
/trunk/main/vcl/unx/headless/ |
H A D | svpbmp.cxx | 237 … pBuf->maPalette[i] = BitmapColor( rCol.getRed(), rCol.getGreen(), rCol.getBlue() ); in AcquireBuffer()
|