⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qgsmarkercatalogue.h

📁 一个非常好的GIS开源新版本
💻 H
字号:
/***************************************************************************                             qgsmarkercatalogue.h                             -------------------    begin                : March 2005    copyright            : (C) 2005 by Radim Blazek    email                : blazek@itc.it ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#ifndef QGSMARKERCATALOGUE_H#define QGSMARKERCATALOGUE_H#include <QStringList>class QImage;class QString;class QPicture;class QPen;class QBrush;class QPainter;/** Catalogue of point symbols */class CORE_EXPORT QgsMarkerCatalogue{public:    //! Destructor    ~QgsMarkerCatalogue();    //! Access to canonical QgsMarkerCatalogue instance    static QgsMarkerCatalogue *instance();        /**List of available markers*/    QStringList list();        /** Returns pixmap of the marker     * \param fullName full name, e.g. hard:circle, svg:/home/usr1/marker1.svg     */    QImage imageMarker (QString fullName, int size, QPen pen, QBrush brush, bool qtBug = true );    /** Returns qpicture of the marker     * \param fullName full name, e.g. hard:circle, svg:/home/usr1/marker1.svg     */    QPicture pictureMarker (QString fullName, int size, QPen pen, QBrush brush, bool qtBug = true );        /** Returns a pixmap given a filename of a svg marker     *  NOTE: this method needs to be public static for QgsMarkerDialog::visualizeMarkers */    static void svgMarker (QPainter * thepPainter, QString name, int size );private:    /**Constructor*/    QgsMarkerCatalogue();    static QgsMarkerCatalogue *mMarkerCatalogue;    /** List of availabel markers*/    QStringList mList;    /** Hard coded */    void hardMarker (QPainter * thepPainter, QString name, int size, QPen pen, QBrush brush, bool qtBug = true );};    #endif // QGSMARKERCATALOGUE_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -