mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 00:23:35 +00:00
21ca87862c
- Added doc::BlendMode enum and doc::BlendFunc type - Renamed LayerImage::getBlendMode() -> blendMode() - BLEND_MODE_COPY is BlendMode::SRC now - BLEND_MODE_NORMAL is BlendMode::NORMAL now - Added app::cmd::SetLayerBlendMode
44 lines
1.0 KiB
C++
44 lines
1.0 KiB
C++
// Aseprite Document Library
|
|
// Copyright (c) 2001-2015 David Capello
|
|
//
|
|
// This file is released under the terms of the MIT license.
|
|
// Read LICENSE.txt for more information.
|
|
|
|
#ifndef DOC_BLEND_MODE_H_INCLUDED
|
|
#define DOC_BLEND_MODE_H_INCLUDED
|
|
#pragma once
|
|
|
|
namespace doc {
|
|
|
|
enum class BlendMode {
|
|
// Special internal/undocumented alpha compositing and blend modes
|
|
UNSPECIFIED = -1,
|
|
SRC = -2,
|
|
MERGE = -3,
|
|
NEG_BW = -4, // Negative Black & White
|
|
RED_TINT = -5,
|
|
BLUE_TINT = -6,
|
|
|
|
// Aseprite (.ase files) blend modes
|
|
NORMAL = 0,
|
|
MULTIPLY = 1,
|
|
SCREEN = 2,
|
|
OVERLAY = 3,
|
|
DARKEN = 4,
|
|
LIGHTEN = 5,
|
|
COLOR_DODGE = 6,
|
|
COLOR_BURN = 7,
|
|
HARD_LIGHT = 8,
|
|
SOFT_LIGHT = 9,
|
|
DIFFERENCE = 10,
|
|
EXCLUSION = 11,
|
|
HSL_HUE = 12,
|
|
HSL_SATURATION = 13,
|
|
HSL_COLOR = 14,
|
|
HSL_LUMINOSITY = 15
|
|
};
|
|
|
|
} // namespace doc
|
|
|
|
#endif
|