Home
last modified time | relevance | path

Searched refs:GetRed (Results 1 – 25 of 145) sorted by relevance

123456

/aoo41x/main/vcl/workben/
H A Dsvptest.cxx189 if( rFrom.GetRed() < rTo.GetRed() ) in approachColor()
191 nDiff = rTo.GetRed() - rFrom.GetRed(); in approachColor()
192 aColor.SetRed( rFrom.GetRed() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
194 else if( rFrom.GetRed() > rTo.GetRed() ) in approachColor()
196 nDiff = rFrom.GetRed() - rTo.GetRed(); in approachColor()
197 aColor.SetRed( rFrom.GetRed() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
200 aColor.SetRed( rFrom.GetRed() ); in approachColor()
349 if( aApproachColor.GetRed() ) in Paint()
/aoo41x/main/vcl/source/gdi/
H A Dbitmap3.cxx1255 lXR1 = aCol1.GetRed() - ( lXR0 = aCol0.GetRed() ); in ImplScaleInterpolate()
1327 lXR1 = aCol1.GetRed() - ( lXR0 = aCol0.GetRed() ); in ImplScaleInterpolate()
1452 cR0 = MAP( rCol0.GetRed(), rCol1.GetRed(), nTempFX ); in ImplScaleSuper()
1456 cR1 = MAP( rCol2.GetRed(), rCol3.GetRed(), nTempFX ); in ImplScaleSuper()
1523 nSumRowR += rCol.GetRed() << 7L; in ImplScaleSuper()
1546 nSumRowR += rCol.GetRed() << 7L; in ImplScaleSuper()
1591 cR0 = MAP( aCol0.GetRed(), aCol1.GetRed(), nTempFX ); in ImplScaleSuper()
1597 cR1 = MAP( aCol0.GetRed(), aCol1.GetRed(), nTempFX ); in ImplScaleSuper()
1664 nSumRowR += aCol0.GetRed() << 7L; in ImplScaleSuper()
2025 cR0 = MAP( aCol0.GetRed(), aCol1.GetRed(), nTempFX ); in ImplScaleSuper()
[all …]
H A Dbitmap4.cxx165 nSumR = ( pTmp = pKoeff[ 0 ] )[ ( pColor = pRowTmp1 + nX )->GetRed() ]; in ImplConvolute3()
169 nSumR += ( pTmp = pKoeff[ 1 ] )[ ( ++pColor )->GetRed() ]; in ImplConvolute3()
173 nSumR += ( pTmp = pKoeff[ 2 ] )[ ( ++pColor )->GetRed() ]; in ImplConvolute3()
178 nSumR += ( pTmp = pKoeff[ 3 ] )[ ( pColor = pRowTmp2 + nX )->GetRed() ]; in ImplConvolute3()
182 nSumR += ( pTmp = pKoeff[ 4 ] )[ ( ++pColor )->GetRed() ]; in ImplConvolute3()
186 nSumR += ( pTmp = pKoeff[ 5 ] )[ ( ++pColor )->GetRed() ]; in ImplConvolute3()
191 nSumR += ( pTmp = pKoeff[ 6 ] )[ ( pColor = pRowTmp3 + nX )->GetRed() ]; in ImplConvolute3()
195 nSumR += ( pTmp = pKoeff[ 7 ] )[ ( ++pColor )->GetRed() ]; in ImplConvolute3()
199 nSumR += ( pTmp = pKoeff[ 8 ] )[ ( ++pColor )->GetRed() ]; in ImplConvolute3()
827 nSumR += aCol.GetRed(); in ImplMosaic()
[all …]
H A Dbmpfast.cxx58 PIXBYTE GetRed() const;
77 PIXBYTE GetRed() const { return mpPixel[0]; } in GetRed() function in TrueColorPixelPtr
97 PIXBYTE GetRed() const { return mpPixel[2]; } in GetRed() function in TrueColorPixelPtr
117 PIXBYTE GetRed() const { return mpPixel[1]; } in GetRed() function in TrueColorPixelPtr
137 PIXBYTE GetRed() const { return mpPixel[3]; } in GetRed() function in TrueColorPixelPtr
157 PIXBYTE GetRed() const { return mpPixel[0]; } in GetRed() function in TrueColorPixelPtr
177 PIXBYTE GetRed() const { return mpPixel[2]; } in GetRed() function in TrueColorPixelPtr
198 PIXBYTE GetRed() const { return (mpPixel[0] & 0xF8U); } in GetRed() function in TrueColorPixelPtr
363 int nR = rDst.GetRed(); in ImplBlendPixels()
364 int nS = rSrc.GetRed(); in ImplBlendPixels()
[all …]
H A Dbitmap.cxx337 if( rCol0.GetRed() == rCol0.GetGreen() && rCol0.GetRed() == rCol0.GetBlue() && in HasGreyPalette()
338 rCol1.GetRed() == rCol1.GetGreen() && rCol1.GetRed() == rCol1.GetBlue() ) in HasGreyPalette()
575 if( ( rFillColor.GetRed() == rFillColor.GetGreen() ) && in Erase()
576 ( rFillColor.GetRed() == rFillColor.GetBlue() ) ) in Erase()
578 cIndex = rFillColor.GetRed(); in Erase()
1320 nR = aCol.GetRed(); in CreateMask()
1342 nR = aCol.GetRed(); in CreateMask()
1633 if( nMinR <= rCol.GetRed() && nMaxR >= rCol.GetRed() && in Replace()
1652 if( nMinR <= aCol.GetRed() && nMaxR >= aCol.GetRed() && in Replace()
1722 if( pMinR[ i ] <= rCol.GetRed() && pMaxR[ i ] >= rCol.GetRed() && in Replace()
[all …]
H A Dbmpacc2.cxx180 *pScanline = rBitmapColor.GetRed(); in IMPL_FORMAT_SETPIXEL_NOMASK()
200 *( pScanline = pScanline + nX * 3 )++ = rBitmapColor.GetRed(); in IMPL_FORMAT_SETPIXEL_NOMASK()
241 *pScanline = rBitmapColor.GetRed(); in IMPL_FORMAT_SETPIXEL_NOMASK()
262 *pScanline++ = rBitmapColor.GetRed(); in IMPL_FORMAT_SETPIXEL_NOMASK()
286 *pScanline++ = rBitmapColor.GetRed(); in IMPL_FORMAT_SETPIXEL_NOMASK()
307 *( pScanline = pScanline + ( nX << 2 ) )++ = rBitmapColor.GetRed(); in IMPL_FORMAT_SETPIXEL_NOMASK()
H A Doutdev4.cxx208 long nStartRed = aStartCol.GetRed(); in ImplDrawLinearGradient()
211 long nEndRed = aEndCol.GetRed(); in ImplDrawLinearGradient()
409 long nStartRed = ( (long) aStartCol.GetRed() * rGradient.GetStartIntensity() ) / 100; in ImplDrawComplexGradient()
412 long nEndRed = ( (long) aEndCol.GetRed() * rGradient.GetEndIntensity() ) / 100; in ImplDrawComplexGradient()
670 aColor = Color( ( aColor.GetRed() >> 1 ) | 0x80, in DrawGradient()
699 aStartCol = Color( ( aStartCol.GetRed() >> 1 ) | 0x80, in DrawGradient()
703 aEndCol = Color( ( aEndCol.GetRed() >> 1 ) | 0x80, in DrawGradient()
811 aColor = Color( ( aColor.GetRed() >> 1 ) | 0x80, in DrawGradient()
877 aStartCol = Color( ( aStartCol.GetRed() >> 1 ) | 0x80, in DrawGradient()
881 aEndCol = Color( ( aEndCol.GetRed() >> 1 ) | 0x80, in DrawGradient()
[all …]
H A Doctree.cxx200 (*ppNode)->nRed += pColor->GetRed(); in ImplAdd()
208 const sal_uLong nIndex = ( ( ( pColor->GetRed() & cMask ) >> nShift ) << 2 ) | in ImplAdd()
284 const sal_uLong nIndex = ( ( ( pColor->GetRed() & cMask ) >> nShift ) << 2 ) | in GetPalIndex()
317 const sal_uInt8 cRed = rColor.GetRed(); in InverseColorMap()
H A Dpngwrite.cxx356 *pTmp++ = rColor.GetRed(); in ImplWritePalette()
565 *pDest++ = rColor.GetRed(); in ImplGetFilter()
578 *pDest++ = rColor.GetRed(); in ImplGetFilter()
594 *pDest++ = rColor.GetRed(); in ImplGetFilter()
/aoo41x/main/padmin/source/
H A Dpadialog.cxx332 if( rFrom.GetRed() < rTo.GetRed() ) in approachColor()
334 nDiff = rTo.GetRed() - rFrom.GetRed(); in approachColor()
335 aColor.SetRed( rFrom.GetRed() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
337 else if( rFrom.GetRed() > rTo.GetRed() ) in approachColor()
339 nDiff = rFrom.GetRed() - rTo.GetRed(); in approachColor()
340 aColor.SetRed( rFrom.GetRed() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
343 aColor.SetRed( rFrom.GetRed() ); in approachColor()
566 if( aApproachColor.GetRed() ) in printPage()
/aoo41x/main/canvas/source/directx/
H A Ddx_vcltools.cxx239 *pCurrOutput++ = aCol.GetRed(); in bitmapFromVCLBitmapEx()
291 *pCurrOutput++ = aCol.GetRed(); in bitmapFromVCLBitmapEx()
379 aColorMap[0] = rCol1.GetRed(); in bitmapFromVCLBitmapEx()
380 aColorMap[1] = rCol0.GetRed(); in bitmapFromVCLBitmapEx()
397 *pCurrOutput++ = aCol.GetRed(); in bitmapFromVCLBitmapEx()
446 *pCurrOutput++ = aCol.GetRed(); in bitmapFromVCLBitmapEx()
H A Ddx_canvashelper_texturefill.cxx200 labs( rColor1.GetRed() - rColor2.GetRed() ), in numColorSteps()
341 …static_cast<BYTE>( basegfx::tools::lerp(rColors[nIndex].GetRed(),rColors[nIndex+1].GetRed(),fAlpha… in fillPolygonalGradient()
/aoo41x/main/svtools/source/graphic/
H A Dgrfmgr2.cxx1069 cR0 = MAP( rCol0.GetRed(), rCol1.GetRed(), nTmpFX ); in ImplCreateScaled()
1073 cR1 = MAP( rCol2.GetRed(), rCol3.GetRed(), nTmpFX ); in ImplCreateScaled()
1096 cR0 = MAP( aCol0.GetRed(), aCol1.GetRed(), nTmpFX ); in ImplCreateScaled()
1102 cR1 = MAP( aCol0.GetRed(), aCol1.GetRed(), nTmpFX ); in ImplCreateScaled()
1194 cR0 = MAP( aCol0.GetRed(), aCol1.GetRed(), nTmpFX ); in ImplCreateScaled()
1200 cR1 = MAP( aCol0.GetRed(), aCol1.GetRed(), nTmpFX ); in ImplCreateScaled()
1490 cR0 = MAP( rCol0.GetRed(), rCol1.GetRed(), nTmpFX ); in ImplCreateRotatedScaled()
1496 cR1 = MAP( rCol2.GetRed(), rCol3.GetRed(), nTmpFX ); in ImplCreateRotatedScaled()
1530 cR0 = MAP( aCol0.GetRed(), aCol1.GetRed(), nTmpFX ); in ImplCreateRotatedScaled()
1536 cR1 = MAP( aCol0.GetRed(), aCol1.GetRed(), nTmpFX ); in ImplCreateRotatedScaled()
/aoo41x/main/filter/source/graphicfilter/ipsd/
H A Dipsd.cxx511 …mpWriteAcc->SetPixel( nY, nX, BitmapColor( aBitmapColor.GetRed(), nGreen, aBitmapColor.GetBlue() )… in ImplReadBody()
529 …mpWriteAcc->SetPixel( nY, nX, BitmapColor( aBitmapColor.GetRed(), nGreen, aBitmapColor.GetBlue() )… in ImplReadBody()
553 …mpWriteAcc->SetPixel( nY, nX, BitmapColor( aBitmapColor.GetRed(), aBitmapColor.GetGreen(), nBlue )… in ImplReadBody()
571 …mpWriteAcc->SetPixel( nY, nX, BitmapColor( aBitmapColor.GetRed(), aBitmapColor.GetGreen(), nBlue )… in ImplReadBody()
601 nBlack = (sal_uInt8)mpReadAcc->GetPixel( nY, nX ).GetRed() + nDat; in ImplReadBody()
628 nBlack = (sal_uInt8)mpReadAcc->GetPixel( nY, nX ).GetRed() + nDat; in ImplReadBody()
656 sal_uInt8 cR = (sal_uInt8) MinMax( aBitmapColor.GetRed() - nDAT, 0L, 255L ); in ImplReadBody()
/aoo41x/main/canvas/source/vcl/
H A Dcanvashelper_texturefill.cxx223 …Color( (sal_uInt8)(basegfx::tools::lerp(rColors[nIndex].GetRed(),rColors[nIndex+1].GetRed(),fAlpha… in fillLinearGradient()
390 …Color( (sal_uInt8)(basegfx::tools::lerp(rColors[nIndex].GetRed(),rColors[nIndex+1].GetRed(),fAlpha… in fillPolygonalGradient()
448 …Color( (sal_uInt8)(basegfx::tools::lerp(rColors[nIndex].GetRed(),rColors[nIndex+1].GetRed(),fAlpha… in fillPolygonalGradient()
539 labs( rColor1.GetRed() - rColor2.GetRed() ), in numColorSteps()
H A Dimpltools.cxx311 aAlphaMap[0] = rCol0.GetRed(); in transformBitmap()
312 aAlphaMap[1] = rCol1.GetRed(); in transformBitmap()
394 aColor.GetRed() + .5 )); in transformBitmap()
445 aColor.GetRed() + .5 )); in transformBitmap()
/aoo41x/main/vcl/unx/generic/gdi/
H A Dcdeint.cxx203 aColors[ 0 ].GetRed() < 128 in GetSystemLook()
208 aColors[ 1 ].GetRed() < 128 in GetSystemLook()
233 …l_uInt8 nRed = (sal_uInt8)(((sal_uInt16)aColors[1].GetRed() + (sal_uInt16)aColor2.GetRed()… in GetSystemLook()
/aoo41x/main/tools/source/generic/
H A Dcolor.cxx78 const long nErrAbs = labs( (long) rCompareColor.GetRed() - GetRed() ) + in GetColorError()
165 c[0] = GetRed(); in RGBtoHSB()
282 fCyan = 1 - ( GetRed() / 255.0 ); in RGBtoCMYK()
486 sal_uInt16 nRed = rColor.GetRed(); in operator <<()
/aoo41x/main/vcl/source/helper/
H A Dcanvasbitmap.cxx691 pColor[0] = aCol.GetRed(); in getIndex()
789 *pOut++ = rendering::RGBColor(toDoubleColor(aCol.GetRed()), in convertToRGB()
840 toDoubleColor(aCol.GetRed()), in convertToARGB()
893 nAlpha*toDoubleColor(aCol.GetRed()), in convertToPARGB()
1088 *pOut++ = toDoubleColor(aCol.GetRed()); in convertFromIntegerColorSpace()
1166 *pOut++ = rendering::RGBColor(toDoubleColor(aCol.GetRed()), in convertIntegerToRGB()
1183 *pOut++ = rendering::RGBColor(toDoubleColor(aCol.GetRed()), in convertIntegerToRGB()
1221 toDoubleColor(aCol.GetRed()), in convertIntegerToARGB()
1238 toDoubleColor(aCol.GetRed()), in convertIntegerToARGB()
1277 nAlpha*toDoubleColor(aCol.GetRed()), in convertIntegerToPARGB()
[all …]
/aoo41x/main/cui/source/tabpages/
H A Dtpcolor.cxx238 aMtrFldColorModel1.SetValue( ColorToPercent_Impl( aAktuellColor.GetRed() ) ); in ActivatePage()
321 if( ColorToPercent_Impl( aTmpColor.GetRed() ) != ColorToPercent_Impl( aColor.GetRed() ) || in CheckChanges_Impl()
678 aMtrFldColorModel1.SetValue( ColorToPercent_Impl( aAktuellColor.GetRed() ) ); in IMPL_LINK()
1139 aMtrFldColorModel1.SetValue( ColorToPercent_Impl( aAktuellColor.GetRed() ) ); in IMPL_LINK()
1166 aMtrFldColorModel1.SetValue( ColorToPercent_Impl( aAktuellColor.GetRed() ) ); in ChangeColorHdl_Impl()
1208 nColor1 = 255 - rColor.GetRed(); in RgbToCmyk_Impl()
1232 lTemp = 255 - ( rColor.GetRed() + nK ); in CmykToRgb_Impl()
/aoo41x/main/vcl/inc/
H A Dimpoct.hxx44 nRed ( (long) rColor.GetRed() << 5L ), in ImpErrorQuad()
63 nRed = (long) rColor.GetRed() << 5L; in operator =()
72 nRed -= ( (long) rColor.GetRed() << 5L ); in operator -=()
/aoo41x/main/svx/source/sidebar/area/
H A DAreaTransparencyGradientControl.cxx252 && ((sal_uInt16)((((sal_uInt16)rGradient.GetStartColor().GetRed() + 1) * 100) / 255)) in InitStatus()
254 && ((sal_uInt16)((((sal_uInt16)rGradient.GetEndColor().GetRed() + 1) * 100) / 255)) in InitStatus()
267 …maMtrTrgrStartValue.SetValue((sal_uInt16)((((sal_uInt16)aGradient.GetStartColor().GetRed() + 1) * … in InitStatus()
268 …maMtrTrgrEndValue.SetValue((sal_uInt16)((((sal_uInt16)aGradient.GetEndColor().GetRed() + 1) * 100)… in InitStatus()
/aoo41x/main/vcl/inc/vcl/
H A Dsalbtype.hxx93 ( ( ( ( d_RS < 0L ) ? ( (sal_uInt32) (d_rCol).GetRed() >> -d_RS ) : \
94 ( (sal_uInt32) (d_rCol).GetRed() << d_RS ) ) & d_RM ) | \
137 inline sal_uInt8 GetRed() const;
322 mcRed ( rColor.GetRed() ), in BitmapColor()
374 inline sal_uInt8 BitmapColor::GetRed() const in GetRed() function in BitmapColor
/aoo41x/main/vcl/test/
H A Dcanvasbitmaptest.cxx253 test( pRGBStart[5].Red == vcl::unotools::toDoubleColor(aCol.GetRed()) && in checkCanvasBitmap()
285 aARGBColor[0].Red = vcl::unotools::toDoubleColor(aCol.GetRed()); in checkCanvasBitmap()
290 aRGBColor[0].Red = vcl::unotools::toDoubleColor(aCol.GetRed()); in checkCanvasBitmap()
404 test( pRGBStart[5].Red == vcl::unotools::toDoubleColor(aCol.GetRed()) && in checkBitmapImport()
436 aARGBColor[0].Red = vcl::unotools::toDoubleColor(aCol.GetRed()); in checkBitmapImport()
441 aRGBColor[0].Red = vcl::unotools::toDoubleColor(aCol.GetRed()); in checkBitmapImport()
/aoo41x/main/sd/source/ui/func/
H A Dfucopy.cxx286 …sal_uInt8 nRed = aStartColor.GetRed() + (sal_uInt8) ( ( (long) aEndColor.GetRed() - (long) aStartC… in DoExecute()

Completed in 423 milliseconds

123456