QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
QgsMapInfoSymbolConverter Class Reference

Handles conversion of MapInfo symbols to QGIS symbology. More...

#include <qgsmapinfosymbolconverter.h>

Static Public Member Functions

static QgsFillSymbolconvertFillSymbol (int identifier, QgsMapInfoSymbolConversionContext &context, const QColor &foreColor, const QColor &backColor=QColor())
 Converts the MapInfo fill symbol with the specified identifier to a QgsFillSymbol.
 
static QgsLineSymbolconvertLineSymbol (int identifier, QgsMapInfoSymbolConversionContext &context, const QColor &foreColor, double size, Qgis::RenderUnit sizeUnit, bool interleaved=false)
 Converts the MapInfo line symbol with the specified identifier to a QgsLineSymbol.
 
static QgsMarkerSymbolconvertMarkerSymbol (int identifier, QgsMapInfoSymbolConversionContext &context, const QColor &color, double size, Qgis::RenderUnit sizeUnit)
 Converts the MapInfo marker symbol with the specified identifier to a QgsMarkerSymbol.
 

Detailed Description

Handles conversion of MapInfo symbols to QGIS symbology.

Since
QGIS 3.20

Definition at line 66 of file qgsmapinfosymbolconverter.h.

Member Function Documentation

◆ convertFillSymbol()

QgsFillSymbol * QgsMapInfoSymbolConverter::convertFillSymbol ( int  identifier,
QgsMapInfoSymbolConversionContext context,
const QColor &  foreColor,
const QColor &  backColor = QColor() 
)
static

Converts the MapInfo fill symbol with the specified identifier to a QgsFillSymbol.

The caller takes ownership of the returned symbol.

Definition at line 1103 of file qgsmapinfosymbolconverter.cpp.

◆ convertLineSymbol()

QgsLineSymbol * QgsMapInfoSymbolConverter::convertLineSymbol ( int  identifier,
QgsMapInfoSymbolConversionContext context,
const QColor &  foreColor,
double  size,
Qgis::RenderUnit  sizeUnit,
bool  interleaved = false 
)
static

Converts the MapInfo line symbol with the specified identifier to a QgsLineSymbol.

The caller takes ownership of the returned symbol.

Definition at line 36 of file qgsmapinfosymbolconverter.cpp.

◆ convertMarkerSymbol()

QgsMarkerSymbol * QgsMapInfoSymbolConverter::convertMarkerSymbol ( int  identifier,
QgsMapInfoSymbolConversionContext context,
const QColor &  color,
double  size,
Qgis::RenderUnit  sizeUnit 
)
static

Converts the MapInfo marker symbol with the specified identifier to a QgsMarkerSymbol.

This method will convert a MapInfo "MapInfo 3.0 Compatible" symbol with a specific identifier to a QgsMarkerSymbol.

The caller takes ownership of the returned symbol.

Definition at line 1394 of file qgsmapinfosymbolconverter.cpp.


The documentation for this class was generated from the following files: