summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-09 15:30:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-10 12:04:19 +0100
commit676024b001340dce6c854efc3b74bdc8db1e2a3b (patch)
tree732dc17462b9b6f5316d942e39c18370894e1347 /include
parent5b2fc10f0cc9f15525c7723764a1feebeceb0d5e (diff)
move canvas helper code into vcl
part of making BitmapWriteAccess an internal feature of vcl Change-Id: Iee94f47e120d82a23e57342952d04e9b2792cd1a Reviewed-on: https://gerrit.libreoffice.org/50999 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/BitmapTools.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx
index 51088b0fefa1..e68e203825e2 100644
--- a/include/vcl/BitmapTools.hxx
+++ b/include/vcl/BitmapTools.hxx
@@ -18,6 +18,8 @@
#if ENABLE_CAIRO_CANVAS
#include <vcl/cairo.hxx>
#endif
+#include <com/sun/star/geometry/IntegerPoint2D.hpp>
+#include <com/sun/star/geometry/IntegerRectangle2D.hpp>
namespace vcl {
namespace bitmap {
@@ -83,6 +85,13 @@ BitmapEx VCL_DLLPUBLIC CreateFromData( RawBitmap && data );
VCL_DLLPUBLIC BitmapEx* CreateFromCairoSurface(Size size, cairo_surface_t* pSurface);
#endif
+VCL_DLLPUBLIC BitmapEx CanvasBitmapHelperSetPixel( const css::uno::Sequence< sal_Int8 >& color,
+ const css::geometry::IntegerPoint2D& pos,
+ BitmapEx & rBitmapEx );
+VCL_DLLPUBLIC BitmapEx CanvasBitmapHelperSetData( const css::uno::Sequence< sal_Int8 >& data,
+ const css::geometry::IntegerRectangle2D& rect,
+ BitmapEx & rBitmapEx);
+
}} // end vcl::bitmap
#endif // INCLUDED_VCL_BITMAP_TOOLS_HXX