[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/pigment
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2010-09-01 19:03:44
Message-ID: 20100901190344.3F4C8AC871 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1170648 by rempt:
Also start on hard light
M +2 -2 KoCompositeOp.h
A compositeops/KoCompositeOpHardlight.h [License: LGPL (v2+)]
M +2 -0 compositeops/KoCompositeOps.h
--- trunk/koffice/libs/pigment/KoCompositeOp.h #1170647:1170648
@@ -63,8 +63,8 @@
const QString COMPOSITE_COPY_GREEN = "copy_green";
const QString COMPOSITE_COPY_BLUE = "copy_blue";
const QString COMPOSITE_COPY_OPACITY = "copy_opacity";
-const QString COMPOSITE_HARD_LIGHT = "hard_light"; // XXX: not implemented anywhere yet
-const QString COMPOSITE_SOFT_LIGHT = "soft_light"; // XXX: not implemented anywhere yet
+const QString COMPOSITE_HARD_LIGHT = "hard_light";
+const QString COMPOSITE_SOFT_LIGHT = "soft_light";
const QString COMPOSITE_EXCLUSION = "exclusion"; // XXX: not implemented anywhere yet
const QString COMPOSITE_INVERTED_DIVIDE = "inverted_divide"; // XXX: not implemented anywhere yet
const QString COMPOSITE_VIVID_LIGHT = "vivid light"; // XXX: not implemented anywhere yet
--- trunk/koffice/libs/pigment/compositeops/KoCompositeOps.h #1170647:1170648
@@ -35,6 +35,7 @@
#include "compositeops/KoCompositeOpSubtract.h"
#include "compositeops/KoCompositeOpInversedSubtract.h"
#include "compositeops/KoCompositeOpSoftlight.h"
+#include "compositeops/KoCompositeOpHardlight.h"
/**
* This function add to the colorspace all the composite ops defined by
@@ -55,6 +56,7 @@
cs->addCompositeOp(new KoCompositeOpScreen<_Traits_>(cs));
cs->addCompositeOp(new KoCompositeOpSubtract<_Traits_>(cs));
cs->addCompositeOp(new KoCompositeOpSoftlight<_Traits_>(cs));
+ cs->addCompositeOp(new KoCompositeOpHardlight<_Traits_>(cs));
}
#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic