1
/***************************************************************************
6
copyright : (C) 2003 by Gary E.Sherman
7
email : sherman at mrcc.com
8
***************************************************************************/
10
/***************************************************************************
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
17
***************************************************************************/
18
#include "qgsrenderer.h"
26
QColor QgsRenderer::mSelectionColor = QColor( 0, 0, 0 );
28
QgsRenderer::QgsRenderer()
33
QgsRenderer::~QgsRenderer()
37
void QgsRenderer::setSelectionColor( QColor color )
39
mSelectionColor = color;
42
QColor QgsRenderer::selectionColor()
44
return mSelectionColor;
47
bool QgsRenderer::containsPixmap() const
49
//default implementation returns true only for points
50
switch ( mGeometryType )
59
void QgsRenderer::scaleBrush( QBrush& b, double rasterScaleFactor )
61
if ( rasterScaleFactor != 1.0 )
64
m.scale( 1.0 / rasterScaleFactor, 1.0 / rasterScaleFactor );