46 lines
991 B
C++
46 lines
991 B
C++
/**
|
|
*******************************************************************************
|
|
* @file parserSVG/Base.h
|
|
* @brief basic Element parsing (Header)
|
|
* @author Edouard DUPIN
|
|
* @date 20/03/2012
|
|
* @par Project
|
|
* parserSVG
|
|
*
|
|
* @par Copyright
|
|
* Copyright 2011 Edouard DUPIN, all right reserved
|
|
*
|
|
* This software is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY.
|
|
*
|
|
* Licence summary :
|
|
* You can modify and redistribute the sources code and binaries.
|
|
* You can send me the bug-fix
|
|
*
|
|
* Term of the licence in in the file licence.txt.
|
|
*
|
|
*******************************************************************************
|
|
*/
|
|
|
|
#ifndef __SVG_BASE_H__
|
|
#define __SVG_BASE_H__
|
|
|
|
#include <etk/Types.h>
|
|
#include <tinyXML/tinyxml.h>
|
|
|
|
namespace svg
|
|
{
|
|
class Base
|
|
{
|
|
protected:
|
|
color_ts m_fill;
|
|
color_ts m_stroke;
|
|
color_ts m_strokeWidth;
|
|
public:
|
|
Base(void) { };
|
|
~Base(void) { };
|
|
virtual bool Parse(TiXmlNode * node) = 0;
|
|
};
|
|
};
|
|
|
|
#endif |