summaryrefslogtreecommitdiff
path: root/include/tools/color.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/color.hxx')
-rw-r--r--include/tools/color.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/tools/color.hxx b/include/tools/color.hxx
index f940dbcf5688..c382f870e259 100644
--- a/include/tools/color.hxx
+++ b/include/tools/color.hxx
@@ -161,6 +161,16 @@ public:
void IncreaseLuminance(sal_uInt8 cLumInc);
void DecreaseLuminance(sal_uInt8 cLumDec);
+ /**
+ * Apply tint or shade to a color.
+ *
+ * The input value is the percentage (in 100th of percent) of how much the
+ * color changes towards the black (shade) or white (tint). If the value
+ * is positive, the color is tinted, if the value is negative, the color is
+ * shaded.
+ **/
+ void ApplyTintOrShade(sal_Int16 n100thPercent);
+
void DecreaseContrast(sal_uInt8 cContDec);
void Invert();