Home
last modified time | relevance | path

Searched refs:nRGB (Results 1 – 9 of 9) sorted by relevance

/aoo42x/main/vbahelper/source/vbahelper/
H A Dvbacolorformat.cxx71 sal_Int32 nRGB = 0; in getRGB() local
75 m_xPropertySet->getPropertyValue( rtl::OUString::createFromAscii("LineColor") ) >>= nRGB; in getRGB()
82 m_xPropertySet->getPropertyValue( rtl::OUString::createFromAscii("FillColor") ) >>= nRGB; in getRGB()
85 nRGB = m_nFillFormatBackColor; in getRGB()
90 nRGB = OORGBToXLRGB( nRGB ); in getRGB()
91 return nRGB; in getRGB()
97 sal_Int32 nRGB = XLRGBToOORGB( _rgb ); in setRGB() local
101 …opertySet->setPropertyValue( rtl::OUString::createFromAscii( "LineColor" ), uno::makeAny( nRGB ) ); in setRGB()
110 m_pFillFormat->setForeColorAndInternalStyle(nRGB); in setRGB()
114 m_nFillFormatBackColor = nRGB; in setRGB()
[all …]
H A Dvbahelper.cxx497 sal_Int32 nRGB = ( nAutoBits | (nBlue << 16) | (nGreen << 8) | nRed ); in OORGBToXLRGB() local
498 return nRGB; in OORGBToXLRGB()
514 sal_Int32 nRGB = ( nAutoBits | (nRed << 16) | (nGreen << 8) | nBlue ); in XLRGBToOORGB() local
515 return nRGB; in XLRGBToOORGB()
/aoo42x/main/filter/source/graphicfilter/ipbm/
H A Dipbm.cxx260 sal_uLong nGrey, nRGB[3]; in ImplReadBody() local
457 nRGB[ 0 ] = nRGB[ 1 ] = nRGB[ 2 ] = 0; in ImplReadBody()
464 …mpAcc->SetPixel( nHeight, nWidth++, BitmapColor( static_cast< sal_uInt8 >( ( nRGB[ 0 ] * 255 ) / m… in ImplReadBody()
465 static_cast< sal_uInt8 >( ( nRGB[ 1 ] * 255 ) / mnMaxVal ), in ImplReadBody()
466 static_cast< sal_uInt8 >( ( nRGB[ 2 ] * 255 ) / mnMaxVal ) ) ); in ImplReadBody()
468 nRGB[ 0 ] = nRGB[ 1 ] = nRGB[ 2 ] = 0; in ImplReadBody()
517 nRGB[ nCount ] *= 10; in ImplReadBody()
518 nRGB[ nCount ] += nDat-'0'; in ImplReadBody()
/aoo42x/main/vcl/inc/
H A Dprintergfx.hxx69 PrinterColor (sal_uInt32 nRGB) : in PrinterColor() argument
70 mnRed ((nRGB & 0x00ff0000) >> 16), in PrinterColor()
71 mnGreen ((nRGB & 0x0000ff00) >> 8), in PrinterColor()
72 mnBlue ((nRGB & 0x000000ff) ), in PrinterColor()
108 PrinterColor& operator= (sal_uInt32 nRGB) in operator =() argument
111 mnBlue = (nRGB & 0x000000ff); in operator =()
112 mnGreen = (nRGB & 0x0000ff00) >> 8; in operator =()
113 mnRed = (nRGB & 0x00ff0000) >> 16; in operator =()
/aoo42x/main/vcl/win/source/gdi/
H A Dsalgdi.cxx62 DWORD nRGB; member
433 if ( pEntry->nRGB == nTestRGB ) in ImplIsSysColorEntry()
445 const DWORD nRGB = GetSysColor( nSysIndex ); in ImplInsertSysColorEntry() local
447 if ( !ImplIsPaletteEntry( GetRValue( nRGB ), GetGValue( nRGB ), GetBValue( nRGB ) ) ) in ImplInsertSysColorEntry()
452 pFirstSysColor->nRGB = nRGB; in ImplInsertSysColorEntry()
458 pActSysColor->nRGB = nRGB; in ImplInsertSysColorEntry()
/aoo42x/main/basic/source/runtime/
H A Dmethods1.cxx524 sal_uIntPtr nRGB = (sal_uIntPtr)rPar.Get(1)->GetLong(); in RTLFUNC() local
525 nRGB &= 0x00FF0000; in RTLFUNC()
526 nRGB >>= 16; in RTLFUNC()
527 rPar.Get(0)->PutInteger( (sal_Int16)nRGB ); in RTLFUNC()
540 sal_uIntPtr nRGB = (sal_uIntPtr)rPar.Get(1)->GetLong(); in RTLFUNC() local
541 nRGB &= 0x0000FF00; in RTLFUNC()
542 nRGB >>= 8; in RTLFUNC()
543 rPar.Get(0)->PutInteger( (sal_Int16)nRGB ); in RTLFUNC()
556 sal_uIntPtr nRGB = (sal_uIntPtr)rPar.Get(1)->GetLong(); in RTLFUNC() local
557 nRGB &= 0x000000FF; in RTLFUNC()
[all …]
H A Dmethods.cxx3915 sal_uIntPtr nRGB; in RTLFUNC() local
3921 nRGB = (nBlue << 16) | (nGreen << 8) | nRed; in RTLFUNC()
3925 nRGB = (nRed << 16) | (nGreen << 8) | nBlue; in RTLFUNC()
3927 rPar.Get(0)->PutLong( nRGB ); in RTLFUNC()
3967 sal_Int32 nRGB = pRGB[ nCol ]; in RTLFUNC() local
3968 rPar.Get(0)->PutLong( nRGB ); in RTLFUNC()
/aoo42x/main/sc/source/ui/vba/
H A Dvbahelper.cxx353 sal_Int32 nRGB = ( (nBlue << 16) | (nGreen << 8) | nRed ); in OORGBToXLRGB() local
354 return nRGB; in OORGBToXLRGB()
367 sal_Int32 nRGB = ( (nRed << 16) | (nGreen << 8) | nBlue ); in XLRGBToOORGB() local
368 return nRGB; in XLRGBToOORGB()
/aoo42x/main/vcl/inc/win/
H A Dsalgdi.h43 #define RGB_TO_PALRGB(nRGB) ((nRGB)|0x02000000) argument

Completed in 173 milliseconds