18 QPair<QString, QString> colorSpaceId;
42 switch (channelDepth) {
62 if (blendmode ==
"pass")
65 if (blendmode ==
"norm")
68 if (blendmode ==
"diss")
71 if (blendmode ==
"dark")
74 if (blendmode ==
"mul ")
77 if (blendmode ==
"idiv")
80 if (blendmode ==
"lbrn")
83 if (blendmode ==
"dkCl")
86 if (blendmode ==
"lite")
89 if (blendmode ==
"scrn")
92 if (blendmode ==
"div ")
95 if (blendmode ==
"lddg")
98 if (blendmode ==
"lgCl")
101 if (blendmode ==
"over")
104 if (blendmode ==
"sLit")
107 if (blendmode ==
"hLit")
110 if (blendmode ==
"vLit")
113 if (blendmode ==
"lLit")
116 if (blendmode ==
"pLit")
119 if (blendmode ==
"hMix")
122 if (blendmode ==
"diff")
125 if (blendmode ==
"smud")
128 if (blendmode ==
"fsub")
131 if (blendmode ==
"fdiv")
134 if (blendmode ==
"hue ")
137 if (blendmode ==
"sat ")
140 if (blendmode ==
"colr")
143 if (blendmode ==
"lum ")
146 dbgKrita <<
"Unknown blendmode:" << blendmode <<
". Returning Normal";
239 dbgKrita <<
"Krita blending mode" << compositeop <<
"does not exist in Photoshop, returning Normal";
252 return QPoint(distanceX, distanceY);
const KoID Float32BitsColorDepthID("F32", ki18n("32-bit float/channel"))
const KoID GrayAColorModelID("GRAYA", ki18n("Grayscale/Alpha"))
const KoID Integer8BitsColorDepthID("U8", ki18n("8-bit integer/channel"))
const KoID Integer16BitsColorDepthID("U16", ki18n("16-bit integer/channel"))
const KoID CMYKAColorModelID("CMYKA", ki18n("CMYK/Alpha"))
const KoID LABAColorModelID("LABA", ki18n("L*a*b*/Alpha"))
const KoID RGBAColorModelID("RGBA", ki18n("RGB/Alpha"))
const QString COMPOSITE_OVER
const QString COMPOSITE_DARKEN
const QString COMPOSITE_OVERLAY
const QString COMPOSITE_DIVIDE
const QString COMPOSITE_DODGE
const QString COMPOSITE_SOFT_LIGHT_SVG
const QString COMPOSITE_LIGHTEN
const QString COMPOSITE_LINEAR_BURN
const QString COMPOSITE_SOFT_LIGHT_PHOTOSHOP
const QString COMPOSITE_LIGHTER_COLOR
const QString COMPOSITE_MULT
const QString COMPOSITE_SATURATION
const QString COMPOSITE_LINEAR_LIGHT
const QString COMPOSITE_HARD_LIGHT
const QString COMPOSITE_SCREEN
const QString COMPOSITE_PIN_LIGHT
const QString COMPOSITE_DIFF
const QString COMPOSITE_HUE
const QString COMPOSITE_SUBTRACT
const QString COMPOSITE_DISSOLVE
const QString COMPOSITE_BURN
const QString COMPOSITE_LINEAR_DODGE
const QString COMPOSITE_COLOR
const QString COMPOSITE_EXCLUSION
const QString COMPOSITE_DARKER_COLOR
const QString COMPOSITE_VIVID_LIGHT
const QString COMPOSITE_LUMINIZE
const QString COMPOSITE_HARD_MIX_PHOTOSHOP
const QString COMPOSITE_PASS_THROUGH
~psd_layer_effects_drop_shadow()
~psd_layer_effects_glow_common() override
~psd_layer_effects_inner_glow() override
~psd_layer_effects_inner_shadow() override
~psd_layer_effects_outer_glow() override
virtual void scaleLinearSizes(qreal scale)
QPoint calculateOffset(const psd_layer_effects_context *context) const
virtual ~psd_layer_effects_shadow_base()
~psd_layer_effects_shadow_common() override
T kisDegreesToRadians(T degrees)
QPair< QString, QString > psd_colormode_to_colormodelid(psd_color_mode colormode, quint16 channelDepth)
QString psd_blendmode_to_composite_op(const QString &blendmode)
QString composite_op_to_psd_blendmode(const QString &compositeop)