@@ -117,7 +117,7 @@ class QgsDxfExport
117117 * Get DXF palette index of nearest entry for given color
118118 * @param color
119119 */
120- static int closestColorMatch( QRgb pixel );
120+ static int closestColorMatch( QRgb color );
121121
122122 /**
123123 * Get layer name for feature
@@ -215,7 +215,7 @@ class QgsDxfExport
215215 * @param line polyline
216216 * @param layer layer name to use
217217 * @param lineStyleName line type to use
218- * @param color coolor to use
218+ * @param color color to use
219219 * @param width line width to use
220220 */
221221 void writePolyline( const QgsPolyline &line, const QString &layer, const QString &lineStyleName, const QColor& color, double width = -1 );
@@ -225,7 +225,7 @@ class QgsDxfExport
225225 * @param polygon polygon
226226 * @param layer layer name to use
227227 * @param hatchPattern hatchPattern to use
228- * @param color coolor to use
228+ * @param color color to use
229229 */
230230 void writePolygon( const QgsPolygon &polygon, const QString &layer, const QString &hatchPattern, const QColor& color );
231231
@@ -270,4 +270,20 @@ class QgsDxfExport
270270 //! return list of available DXF encodings
271271 static QStringList encodings();
272272
273+ /** Output the label
274+ * @param layerId id of the layer
275+ * @param context render context
276+ * @param label position of label
277+ * @param settings label settings
278+ * @note not available in Python bindings
279+ */
280+ // void drawLabel( QString layerId, QgsRenderContext& context, pal::LabelPosition* label, const QgsPalLayerSettings &settings );
281+
282+ /** Register name of layer for feature
283+ * @param layerId id of layer
284+ * @param fid id of feature
285+ * @param layer dxf layer of feature
286+ */
287+ void registerDxfLayer( QString layerId, QgsFeatureId fid, QString layer );
288+
273289};
0 commit comments