QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
src
core
raster
qgsrasterrendererutils.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsrasterrendererutils.h
3
-------------------
4
begin : September 2020
5
copyright : (C) 2020 by Nyall Dawson
6
email : nyall dawson dawson at gmail dot com
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSRASTERRENDERERUTILS_H
19
#define QGSRASTERRENDERERUTILS_H
20
21
#include "
qgscolorrampshader.h
"
22
29
class
CORE_EXPORT
QgsRasterRendererUtils
30
{
31
public
:
32
41
static
bool
parseColorMapFile(
const
QString &path, QList<QgsColorRampShader::ColorRampItem> &items
SIP_OUT
,
42
QgsColorRampShader::Type
&type
SIP_OUT
,
43
QStringList &errors
SIP_OUT
);
44
53
static
bool
saveColorMapFile(
const
QString &path,
const
QList<QgsColorRampShader::ColorRampItem> &items,
QgsColorRampShader::Type
type );
54
};
55
56
#endif // QGSRASTERRENDERERUTILS_H
SIP_OUT
#define SIP_OUT
Definition:
qgis_sip.h:58
QgsRasterRendererUtils
Utility functions for raster renderers.
Definition:
qgsrasterrendererutils.h:30
qgscolorrampshader.h
QgsColorRampShader::Type
Type
Supported methods for color interpolation.
Definition:
qgscolorrampshader.h:46
Generated on Sat Oct 24 2020 17:43:09 for QGIS API Documentation by
1.8.20