1
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
- /* ************************************************************************
2
+ /*
3
+ * This file is part of the LibreOffice project.
3
4
*
4
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
+ * This Source Code Form is subject to the terms of the Mozilla Public
6
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
7
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
8
*
6
- * Copyright 2000, 2010 Oracle and/or its affiliates.
9
+ * This file incorporates work covered by the following license notice:
7
10
*
8
- * OpenOffice.org - a multi-platform office productivity suite
9
- *
10
- * This file is part of OpenOffice.org.
11
- *
12
- * OpenOffice.org is free software: you can redistribute it and/or modify
13
- * it under the terms of the GNU Lesser General Public License version 3
14
- * only, as published by the Free Software Foundation.
15
- *
16
- * OpenOffice.org is distributed in the hope that it will be useful,
17
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
- * GNU Lesser General Public License version 3 for more details
20
- * (a copy is included in the LICENSE file that accompanied this code).
21
- *
22
- * You should have received a copy of the GNU Lesser General Public License
23
- * version 3 along with OpenOffice.org. If not, see
24
- * <http://www.openoffice.org/license.html>
25
- * for a copy of the LGPLv3 License.
26
- *
27
- ************************************************************************/
11
+ * Licensed to the Apache Software Foundation (ASF) under one or more
12
+ * contributor license agreements. See the NOTICE file distributed
13
+ * with this work for additional information regarding copyright
14
+ * ownership. The ASF licenses this file to you under the Apache
15
+ * License, Version 2.0 (the "License"); you may not use this file
16
+ * except in compliance with the License. You may obtain a copy of
17
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
+ */
28
19
29
20
#ifndef _BGFX_COLOR_BCOLORMODIFIER_HXX
30
21
#define _BGFX_COLOR_BCOLORMODIFIER_HXX
@@ -41,10 +32,12 @@ namespace basegfx
41
32
*/
42
33
enum BColorModifyMode
43
34
{
44
- BCOLORMODIFYMODE_REPLACE, // replace all color with local color
45
- BCOLORMODIFYMODE_INTERPOLATE, // interpolate color between given and local with local value
46
- BCOLORMODIFYMODE_GRAY, // convert color to gray
47
- BCOLORMODIFYMODE_BLACKANDWHITE // convert color to B&W, local value is treshhold
35
+ BCOLORMODIFYMODE_REPLACE, // replace all color with local color
36
+ BCOLORMODIFYMODE_INTERPOLATE, // interpolate color between given and local with local value
37
+ BCOLORMODIFYMODE_GRAY, // convert color to gray
38
+ BCOLORMODIFYMODE_BLACKANDWHITE, // convert color to B&W, local value is treshhold
39
+ BCOLORMODIFYMODE_INVERT, // invert color
40
+ BCOLORMODIFYMODE_LUMINANCE_TO_ALPHA // convert color to alpha value (used for Svg Mask)
48
41
};
49
42
50
43
/* * Class to hold a color, value and mode for a color modification. Color modification is
0 commit comments