qgsrenderer.cpp

来自「一个非常好的GIS开源新版本」· C++ 代码 · 共 51 行

CPP
51
字号
/***************************************************************************                           qgsrenderer.cpp                                                     -------------------	   begin                : Sat Jan 4 2003	   copyright            : (C) 2003 by Gary E.Sherman	   email                : sherman at mrcc.com***************************************************************************//*************************************************************************** *                                                                         * *   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.                                   * *                                                                         * ***************************************************************************/#include "qgsrenderer.h"#include <QColor>#include <QString>QColor QgsRenderer::mSelectionColor=QColor(0,0,0);QgsRenderer::QgsRenderer(){}QgsRenderer::~QgsRenderer(){}void QgsRenderer::setSelectionColor(QColor color){  mSelectionColor = color;}bool QgsRenderer::containsPixmap() const{  //default implementation returns true only for points  switch(mVectorType)    {    case QGis::Point:       return true;    default:      return false;    }}

⌨️ 快捷键说明

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