LibreOffice Module vcl (master) 1
|
#include <PngImageWriter.hxx>
Public Member Functions | |
PngImageWriter (SvStream &rStream) | |
void | setParameters (css::uno::Sequence< css::beans::PropertyValue > const &rParameters) |
bool | write (const BitmapEx &rBitmap) |
Private Attributes | |
SvStream & | mrStream |
css::uno::Reference< css::task::XStatusIndicator > | mxStatusIndicator |
sal_Int32 | mnCompressionLevel |
bool | mbInterlaced |
bool | mbTranslucent |
std::vector< PngChunk > | maAdditionalChunks |
Definition at line 29 of file PngImageWriter.hxx.
vcl::PngImageWriter::PngImageWriter | ( | SvStream & | rStream | ) |
Definition at line 328 of file PngImageWriter.cxx.
void vcl::PngImageWriter::setParameters | ( | css::uno::Sequence< css::beans::PropertyValue > const & | rParameters | ) |
Definition at line 277 of file PngImageWriter.cxx.
References aData, vcl::PngChunk::data, maAdditionalChunks, mbInterlaced, mbTranslucent, mnCompressionLevel, vcl::PngChunk::name, and vcl::PngChunk::size.
Referenced by GraphicFilter::ExportGraphic(), extractPngString(), and TransferableHelper::SetBitmapEx().
bool vcl::PngImageWriter::write | ( | const BitmapEx & | rBitmap | ) |
Definition at line 336 of file PngImageWriter.cxx.
References maAdditionalChunks, mbInterlaced, mbTranslucent, mnCompressionLevel, mrStream, and vcl::pngWrite().
Referenced by BitmapEx::DumpAsPng(), GraphicFilter::ExportGraphic(), extractPngString(), OpenGLHelper::renderToFile(), and TransferableHelper::SetBitmapEx().
|
private |
Definition at line 36 of file PngImageWriter.hxx.
Referenced by setParameters(), and write().
|
private |
Definition at line 35 of file PngImageWriter.hxx.
Referenced by setParameters(), and write().
|
private |
Definition at line 35 of file PngImageWriter.hxx.
Referenced by setParameters(), and write().
|
private |
Definition at line 34 of file PngImageWriter.hxx.
Referenced by setParameters(), and write().
|
private |
Definition at line 31 of file PngImageWriter.hxx.
Referenced by write().
|
private |
Definition at line 32 of file PngImageWriter.hxx.