|
LibreOffice Module vcl (master) 1
|
#include <basegfx/range/b2drange.hxx>#include <com/sun/star/uno/Sequence.hxx>#include <vcl/bitmapex.hxx>#include <vcl/BinaryDataContainer.hxx>#include <rtl/ustring.hxx>#include <deque>#include <memory>#include <algorithm>#include <optional>Go to the source code of this file.
Classes | |
| class | VectorGraphicData |
Namespaces | |
| namespace | com |
| namespace | com::sun |
| namespace | com::sun::star |
| namespace | com::sun::star::graphic |
Enumerations | |
| enum class | VectorGraphicDataType { Svg = 0 , Emf = 1 , Wmf = 2 , Pdf = 3 } |
Functions | |
| BitmapEx VCL_DLLPUBLIC | convertPrimitive2DSequenceToBitmapEx (const std::deque< css::uno::Reference< css::graphic::XPrimitive2D > > &rSequence, const basegfx::B2DRange &rTargetRange, const sal_uInt32 nMaximumQuadraticPixels=500000, const o3tl::Length eTargetUnit=o3tl::Length::mm100, const std::optional< Size > &rTargetDPI=std::nullopt) |
|
strong |
| Enumerator | |
|---|---|
| Svg | |
| Emf | |
| Wmf | |
Definition at line 47 of file vectorgraphicdata.hxx.
| BitmapEx VCL_DLLPUBLIC convertPrimitive2DSequenceToBitmapEx | ( | const std::deque< css::uno::Reference< css::graphic::XPrimitive2D > > & | rSequence, |
| const basegfx::B2DRange & | rTargetRange, | ||
| const sal_uInt32 | nMaximumQuadraticPixels = 500000, |
||
| const o3tl::Length | eTargetUnit = o3tl::Length::mm100, |
||
| const std::optional< Size > & | rTargetDPI = std::nullopt |
||
| ) |
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().