From 4d2a7692ef7d5cf733cb818b67be300968aa5689 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Mon, 3 Jun 2013 23:39:30 +0200 Subject: fdo#34423 Allow to rotate raw uncompressed bitmaps. When using a graphic filter like blur or sharpen, a raw uncompressed bitmap is created. Until now it was not possible to rotate such bitmap but now this is allowed. Change-Id: I716fa46e37680b1111131586fad20da28391de14 --- include/vcl/GraphicNativeTransform.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/vcl/GraphicNativeTransform.hxx b/include/vcl/GraphicNativeTransform.hxx index db727a22c5ff..4739e97cce26 100644 --- a/include/vcl/GraphicNativeTransform.hxx +++ b/include/vcl/GraphicNativeTransform.hxx @@ -26,8 +26,9 @@ class VCL_DLLPUBLIC GraphicNativeTransform { Graphic& mrGraphic; - bool rotateJPEG (sal_uInt16 aRotation); - bool rotateGeneric (sal_uInt16 aRotation, OUString aType); + bool rotateBitmapOnly (sal_uInt16 aRotation); + bool rotateJPEG (sal_uInt16 aRotation); + bool rotateGeneric (sal_uInt16 aRotation, OUString aType); public: GraphicNativeTransform(Graphic& rGraphic); -- cgit