|
LibreOffice Module vcl (master) 1
|
#include <comphelper/diagnose_ex.hxx>#include <tools/stream.hxx>#include <sal/log.hxx>#include <utility>#include <vcl/vectorgraphicdata.hxx>#include <comphelper/processfactory.hxx>#include <com/sun/star/lang/XMultiServiceFactory.hpp>#include <com/sun/star/graphic/PdfTools.hpp>#include <com/sun/star/graphic/SvgTools.hpp>#include <com/sun/star/graphic/EmfTools.hpp>#include <com/sun/star/graphic/Primitive2DTools.hpp>#include <com/sun/star/rendering/XIntegerReadOnlyBitmap.hpp>#include <com/sun/star/util/XAccounting.hpp>#include <com/sun/star/util/XBinaryDataContainer.hpp>#include <basegfx/matrix/b2dhommatrixtools.hxx>#include <vcl/canvastools.hxx>#include <comphelper/seqstream.hxx>#include <comphelper/sequence.hxx>#include <comphelper/propertysequence.hxx>#include <comphelper/propertyvalue.hxx>#include <vcl/svapp.hxx>#include <vcl/outdev.hxx>#include <vcl/wmfexternal.hxx>#include <vcl/pdfread.hxx>#include <unotools/streamwrap.hxx>#include <graphic/UnoBinaryDataContainer.hxx>Go to the source code of this file.
Functions | |
| BitmapEx | convertPrimitive2DSequenceToBitmapEx (const std::deque< css::uno::Reference< css::graphic::XPrimitive2D > > &rSequence, const basegfx::B2DRange &rTargetRange, const sal_uInt32 nMaximumQuadraticPixels, const o3tl::Length eTargetUnit, const std::optional< Size > &rTargetDPI) |
| static size_t | estimateSize (std::deque< uno::Reference< graphic::XPrimitive2D > > const &rSequence) |
| BitmapEx convertPrimitive2DSequenceToBitmapEx | ( | const std::deque< css::uno::Reference< css::graphic::XPrimitive2D > > & | rSequence, |
| const basegfx::B2DRange & | rTargetRange, | ||
| const sal_uInt32 | nMaximumQuadraticPixels, | ||
| const o3tl::Length | eTargetUnit, | ||
| const std::optional< Size > & | rTargetDPI | ||
| ) |
Definition at line 49 of file vectorgraphicdata.cxx.
References vcl::unotools::bitmapExFromXBitmap(), comphelper::containerToSequence(), Application::GetDefaultDevice(), Size::getHeight(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), Size::getWidth(), comphelper::makePropertyValue(), SAL_WARN, and TOOLS_WARN_EXCEPTION.
Referenced by VectorGraphicData::ensureReplacement().
|
static |
Definition at line 112 of file vectorgraphicdata.cxx.
Referenced by VectorGraphicData::ensureSequenceAndRange().