QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
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 67 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 1104 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 37 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 1395 of file qgsmapinfosymbolconverter.cpp.


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