QGIS API Documentation 4.3.0-Master (2b7e6c9893e)
Loading...
Searching...
No Matches
QgsMapInfoSymbolConverter Class Reference

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

#include <qgsmapinfosymbolconverter.h>

Static Public Member Functions

static std::unique_ptr< 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 std::unique_ptr< 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 std::unique_ptr< 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 64 of file qgsmapinfosymbolconverter.h.

Member Function Documentation

◆ convertFillSymbol()

std::unique_ptr< 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 1110 of file qgsmapinfosymbolconverter.cpp.

◆ convertLineSymbol()

std::unique_ptr< 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 41 of file qgsmapinfosymbolconverter.cpp.

◆ convertMarkerSymbol()

std::unique_ptr< 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 1401 of file qgsmapinfosymbolconverter.cpp.


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