|
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.
| #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 1764 of file dibtools.cxx.
References DIBV5HEADERSIZE.
| bool VCL_DLLPUBLIC ReadDIB | ( | Bitmap & | rTarget, |
| SvStream & | rIStm, | ||
| bool | bFileHeader, | ||
| bool | bMSOFormat = false |
||
| ) |
Definition at line 1614 of file dibtools.cxx.
References rTarget.
Referenced by SvmReader::BmpHandler(), SvmReader::BmpScaleHandler(), SvmReader::BmpScalePartHandler(), SVMConverter::ImplConvertFromSVM1(), SvmReader::MaskHandler(), SvmReader::MaskScaleHandler(), and SvmReader::MaskScalePartHandler().
| bool VCL_DLLPUBLIC ReadDIBBitmapEx | ( | BitmapEx & | rTarget, |
| SvStream & | rIStm, | ||
| bool | bFileHeader = true, |
||
| bool | bMSOFormat = false |
||
| ) |
Definition at line 69 of file dibtools.cxx.
Referenced by SvmReader::BmpExHandler(), SvmReader::BmpExScaleHandler(), SvmReader::BmpExScalePartHandler(), TypeSerializer::readGraphic(), and ImpGraphic::swapInGraphic().
| bool VCL_DLLPUBLIC ReadDIBV5 | ( | Bitmap & | rTarget, |
| AlphaMask & | rTargetAlpha, | ||
| SvStream & | rIStm | ||
| ) |
Definition at line 1697 of file dibtools.cxx.
References Bitmap::Invert(), and rTarget.
| bool VCL_DLLPUBLIC ReadRawDIB | ( | BitmapEx & | rTarget, |
| const unsigned char * | pBuf, | ||
| const ScanlineFormat | nFormat, | ||
| const int | nHeight, | ||
| const int | nStride | ||
| ) |
Definition at line 460 of file dibtools.cxx.
References i, and BitmapReadAccess::SetPixelOnData().
| bool VCL_DLLPUBLIC WriteDIB | ( | const Bitmap & | rSource, |
| SvStream & | rOStm, | ||
| bool | bCompressed, | ||
| bool | bFileHeader | ||
| ) |
Definition at line 1725 of file dibtools.cxx.
Referenced by SvmWriter::BmpHandler(), SvmWriter::BmpScaleHandler(), SvmWriter::BmpScalePartHandler(), BmpWriter(), unographic::Graphic::getDIB(), unographic::Graphic::getMaskDIB(), vcl::bitmap::GetMaskDIB(), EMFWriter::ImplWriteBmpRecord(), SvmWriter::MaskHandler(), SvmWriter::MaskScaleHandler(), SvmWriter::MaskScalePartHandler(), TransferableHelper::SetBitmapEx(), and WMFWriter::WMFRecord_StretchDIB().
| bool VCL_DLLPUBLIC WriteDIB | ( | const BitmapEx & | rSource, |
| SvStream & | rOStm, | ||
| bool | bCompressed = true |
||
| ) |
Definition at line 1734 of file dibtools.cxx.
References BitmapEx::GetBitmap().
| bool VCL_DLLPUBLIC WriteDIBBitmapEx | ( | const BitmapEx & | rSource, |
| SvStream & | rOStm | ||
| ) |
Definition at line 459 of file dibtools.cxx.
Referenced by SvmWriter::BmpExHandler(), SvmWriter::BmpExScaleHandler(), SvmWriter::BmpExScalePartHandler(), vcl::PDFWriterImpl::implWriteBitmapEx(), ImpGraphic::swapOutGraphic(), and TypeSerializer::writeGraphic().