LibreOffice Module vcl (master)
1
|
Go to the source code of this file.
Macros | |
#define | COMPRESS_NONE ( 0 ) |
#define | RLE_8 ( 1 ) |
#define | RLE_4 ( 2 ) |
#define | BITFIELDS ( 3UL ) |
#define | ZCOMPRESS ( ('S'|('D'<<8UL)) | 0x01000000UL ) /* == 'SD01' (binary) */ |
Functions | |
bool VCL_DLLPUBLIC | ReadDIB (Bitmap &rTarget, SvStream &rIStm, bool bFileHeader, bool bMSOFormat=false) |
bool VCL_DLLPUBLIC | ReadDIBBitmapEx (BitmapEx &rTarget, SvStream &rIStm, bool bFileHeader=true, bool bMSOFormat=false) |
bool VCL_DLLPUBLIC | ReadDIBV5 (Bitmap &rTarget, AlphaMask &rTargetAlpha, SvStream &rIStm) |
bool VCL_DLLPUBLIC | ReadRawDIB (BitmapEx &rTarget, const unsigned char *pBuf, const ScanlineFormat nFormat, const int nHeight, const int nStride) |
bool VCL_DLLPUBLIC | WriteDIB (const Bitmap &rSource, SvStream &rOStm, bool bCompressed, bool bFileHeader) |
bool VCL_DLLPUBLIC | WriteDIB (const BitmapEx &rSource, SvStream &rOStm, bool bCompressed=true) |
bool VCL_DLLPUBLIC | WriteDIBBitmapEx (const BitmapEx &rSource, SvStream &rOStm) |
sal_uInt32 VCL_DLLPUBLIC | getDIBV5HeaderSize () |
#define BITFIELDS ( 3UL ) |
Definition at line 37 of file dibtools.hxx.
Referenced by EMFWriter::ImplWriteBmpRecord().
#define COMPRESS_NONE ( 0 ) |
Definition at line 34 of file dibtools.hxx.
#define RLE_4 ( 2 ) |
Definition at line 36 of file dibtools.hxx.
#define RLE_8 ( 1 ) |
Definition at line 35 of file dibtools.hxx.
#define ZCOMPRESS ( ('S'|('D'<<8UL)) | 0x01000000UL ) /* == 'SD01' (binary) */ |
Definition at line 38 of file dibtools.hxx.
sal_uInt32 VCL_DLLPUBLIC getDIBV5HeaderSize | ( | ) |
Definition at line 1859 of file dibtools.cxx.
References DIBV5HEADERSIZE.
bool VCL_DLLPUBLIC ReadDIB | ( | Bitmap & | rTarget, |
SvStream & | rIStm, | ||
bool | bFileHeader, | ||
bool | bMSOFormat = false |
||
) |
Definition at line 1700 of file dibtools.cxx.
Referenced by SVMConverter::ImplConvertFromSVM1(), MetaBmpAction::Read(), MetaBmpScaleAction::Read(), MetaMaskAction::Read(), MetaMaskScaleAction::Read(), and MetaMaskScalePartAction::Read().
bool VCL_DLLPUBLIC ReadDIBBitmapEx | ( | BitmapEx & | rTarget, |
SvStream & | rIStm, | ||
bool | bFileHeader = true , |
||
bool | bMSOFormat = false |
||
) |
Definition at line 1709 of file dibtools.cxx.
References Bitmap, SvStream::GetError(), Bitmap::getPixelFormat(), Bitmap::HasGreyPalette8Bit(), AlphaMask::ImplSetBitmap(), Bitmap::IsEmpty(), vcl::N8_BPP, tools::GenericTypeSerializer::readColor(), SvStream::ReadUChar(), SvStream::ReadUInt32(), SvStream::remainingSize(), SvStream::ResetError(), SvStream::Seek(), and SvStream::Tell().
Referenced by MetaBmpExAction::Read(), MetaBmpExScaleAction::Read(), ReadAnimation(), TypeSerializer::readGraphic(), ReadImplWallpaper(), and ImpGraphic::swapInGraphic().
bool VCL_DLLPUBLIC ReadDIBV5 | ( | Bitmap & | rTarget, |
AlphaMask & | rTargetAlpha, | ||
SvStream & | rIStm | ||
) |
Definition at line 1799 of file dibtools.cxx.
bool VCL_DLLPUBLIC ReadRawDIB | ( | BitmapEx & | rTarget, |
const unsigned char * | pBuf, | ||
const ScanlineFormat | nFormat, | ||
const int | nHeight, | ||
const int | nStride | ||
) |
Definition at line 1807 of file dibtools.cxx.
References Bitmap::AcquireWriteAccess(), and BitmapEx::maBitmap.
bool VCL_DLLPUBLIC WriteDIB | ( | const Bitmap & | rSource, |
SvStream & | rOStm, | ||
bool | bCompressed, | ||
bool | bFileHeader | ||
) |
Definition at line 1823 of file dibtools.cxx.
Referenced by BmpWriter(), unographic::Graphic::getDIB(), unographic::Graphic::getMaskDIB(), vcl::bitmap::GetMaskDIB(), EMFWriter::ImplWriteBmpRecord(), TransferableHelper::SetBitmapEx(), WMFWriter::WMFRecord_StretchDIB(), MetaBmpAction::Write(), MetaBmpScaleAction::Write(), MetaMaskAction::Write(), MetaMaskScaleAction::Write(), and MetaMaskScalePartAction::Write().
bool VCL_DLLPUBLIC WriteDIB | ( | const BitmapEx & | rSource, |
SvStream & | rOStm, | ||
bool | bCompressed = true |
||
) |
Definition at line 1832 of file dibtools.cxx.
References BitmapEx::GetBitmap().
bool VCL_DLLPUBLIC WriteDIBBitmapEx | ( | const BitmapEx & | rSource, |
SvStream & | rOStm | ||
) |
Definition at line 1840 of file dibtools.cxx.
References Bitmap, BitmapEx::GetBitmap(), BitmapEx::maMask, BitmapEx::meTransparent, SvStream::WriteUChar(), and SvStream::WriteUInt32().
Referenced by vcl::PDFWriterImpl::implWriteBitmapEx(), ImpGraphic::swapOutGraphic(), MetaBmpExAction::Write(), MetaBmpExScaleAction::Write(), WriteAnimation(), TypeSerializer::writeGraphic(), and WriteImplWallpaper().