mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
48 lines
1.4 KiB
C++
48 lines
1.4 KiB
C++
/***************************************************************************
|
|
QgsSymbol.cpp - description
|
|
-------------------
|
|
begin : Sun Aug 11 2002
|
|
copyright : (C) 2002 by Gary E.Sherman
|
|
email : sherman at mrcc dot com
|
|
Romans 3:23=>Romans 6:23=>Romans 5:8=>Romans 10:9,10=>Romans 12
|
|
***************************************************************************/
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* 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 <qcolor.h>
|
|
#include "qgssymbol.h"
|
|
|
|
QgsSymbol::QgsSymbol(QColor c):m_color(c)
|
|
{
|
|
|
|
}
|
|
|
|
QgsSymbol::~QgsSymbol()
|
|
{
|
|
}
|
|
QColor QgsSymbol::color()
|
|
{
|
|
return m_color;
|
|
}
|
|
|
|
void QgsSymbol::setColor(QColor c)
|
|
{
|
|
m_color = c;
|
|
}
|
|
|
|
QColor QgsSymbol::fillColor()
|
|
{
|
|
return m_fillColor;
|
|
}
|
|
|
|
void QgsSymbol::setFillColor(QColor c)
|
|
{
|
|
m_fillColor = c;
|
|
}
|