[Libreoffice-commits] core.git: include/vcl vcl/inc
Chris Sherlock
chris.sherlock79 at gmail.com
Thu Jan 7 19:59:18 PST 2016
include/vcl/bitmapex.hxx | 2 +-
vcl/inc/openglgdiimpl.hxx | 15 ++++++++++++---
vcl/inc/salgdi.hxx | 15 ++++++++++++---
3 files changed, 25 insertions(+), 7 deletions(-)
New commits:
commit 8900ffa6fb1514c93efd93f5970ab96de31be4b3
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Fri Jan 8 14:58:35 2016 +1100
vcl: update documentation of drawAlphaRect
Change-Id: Ib70e01f4047a4af8ab152541c4234737ec6e5816
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx
index 6beb20d..1e8511c 100644
--- a/include/vcl/bitmapex.hxx
+++ b/include/vcl/bitmapex.hxx
@@ -338,7 +338,7 @@ public:
@param bInvert
If true, invert the channel values with the logical 'not' operator
- @param msoFormula
+ @param msoBrightness
Use the same formula for brightness as used by MSOffice.
@return true, if the operation was completed successfully.
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx
index 64c7086..4883d0f 100644
--- a/vcl/inc/openglgdiimpl.hxx
+++ b/vcl/inc/openglgdiimpl.hxx
@@ -336,9 +336,18 @@ public:
/** Render solid rectangle with given transparency
- @param nTransparency
- Transparency value (0-255) to use. 0 blits and opaque, 255 a
- fully transparent rectangle
+ @param nX Top left coordinate of rectangle
+
+ @param nY Bottom right coordinate of rectangle
+
+ @param nWidth Width of rectangle
+
+ @param nHeight Height of rectangle
+
+ @param nTransparency Transparency value (0-255) to use. 0 blits and opaque, 255 a
+ fully transparent rectangle
+
+ @returns true if successfully drawn, false if not able to draw rectangle
*/
virtual bool drawAlphaRect(
long nX, long nY,
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx
index c8c5a6c..b9e4d04 100644
--- a/vcl/inc/salgdi.hxx
+++ b/vcl/inc/salgdi.hxx
@@ -605,9 +605,18 @@ protected:
/** Render solid rectangle with given transparency
- @param nTransparency
- Transparency value (0-255) to use. 0 blits and opaque, 255 a
- fully transparent rectangle
+ @param nX Top left coordinate of rectangle
+
+ @param nY Bottom right coordinate of rectangle
+
+ @param nWidth Width of rectangle
+
+ @param nHeight Height of rectangle
+
+ @param nTransparency Transparency value (0-255) to use. 0 blits and opaque, 255 a
+ fully transparent rectangle
+
+ @returns true if successfully drawn, false if not able to draw rectangle
*/
virtual bool drawAlphaRect(
long nX, long nY,
More information about the Libreoffice-commits
mailing list