QGIS API Documentation  3.18.1-Zürich (202f1bf7e5)
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,
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
Type
Supported methods for color interpolation.
Utility functions for raster renderers.
#define SIP_OUT
Definition: qgis_sip.h:58