diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-04 14:26:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-05 08:46:36 +0200 |
commit | 7f4fe205c4b1baf01115a9e0d74655818d03ec40 (patch) | |
tree | f5aead6ec8b31203aeaf8b1c68e2ff736dcd97ea /include/svx/xoutbmp.hxx | |
parent | 849b837d1a3b185a8dd893a8f6eaed53605bcab1 (diff) |
move the contour-finding code inside vcl
Change-Id: Iac52b72831868a917fc445e970edabc1c2585b55
Reviewed-on: https://gerrit.libreoffice.org/75080
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/xoutbmp.hxx')
-rw-r--r-- | include/svx/xoutbmp.hxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/svx/xoutbmp.hxx b/include/svx/xoutbmp.hxx index 09d55e3d8d51..8635ed86a30c 100644 --- a/include/svx/xoutbmp.hxx +++ b/include/svx/xoutbmp.hxx @@ -33,9 +33,6 @@ enum class XOutFlags { NONE = 0x00000000, MirrorHorz = 0x00000001, MirrorVert = 0x00000010, - ContourHorz = 0x00000001, - ContourVert = 0x00000002, - ContourEdgeDetect = 0x00000004, DontAddExtension = 0x00000008, DontExpandFilename = 0x00010000, UseGifIfPossible = 0x00020000, @@ -43,7 +40,7 @@ enum class XOutFlags { UseNativeIfPossible = 0x00080000, }; namespace o3tl { - template<> struct typed_flags<XOutFlags> : is_typed_flags<XOutFlags, 0x000f001f> {}; + template<> struct typed_flags<XOutFlags> : is_typed_flags<XOutFlags, 0x000f0019> {}; } class GraphicFilter; @@ -72,11 +69,6 @@ public: static ErrCode ExportGraphic( const Graphic& rGraphic, const INetURLObject& rURL, GraphicFilter& rFilter, const sal_uInt16 nFormat, const css::uno::Sequence< css::beans::PropertyValue >* pFilterData ); - - static Bitmap DetectEdges( const Bitmap& rBmp, const sal_uInt8 cThreshold ); - - static tools::Polygon GetContour( const Bitmap& rBmp, const XOutFlags nContourFlags, - const tools::Rectangle* pWorkRect ); }; #endif // INCLUDED_SVX_XOUTBMP_HXX |