QGIS API Documentation
3.20.0-Odense (decaadbb31)
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
QgsColorRampShader::Type
Type
Supported methods for color interpolation.
Definition:
qgscolorrampshader.h:49
QgsRasterRendererUtils
Utility functions for raster renderers.
Definition:
qgsrasterrendererutils.h:30
SIP_OUT
#define SIP_OUT
Definition:
qgis_sip.h:58
qgscolorrampshader.h
Generated on Sun Jun 20 2021 10:45:59 for QGIS API Documentation by
1.9.1