esvg/esvg/render/ElementBezierSmoothCurveTo.cpp
Edouard DUPIN bbfe108c5b [DEV] multiple add:
- add display debug to faster developpement
    - add multiple line path in the pointing list
    - better integration of conficuration of svg parameter
2015-11-20 21:34:09 +01:00

24 lines
583 B
C++

/**
* @author Edouard DUPIN
*
* @copyright 2011, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file)
*/
#include <esvg/render/Element.h>
#include <esvg/debug.h>
#undef __class__
#define __class__ "rerder::ElementBezierSmoothCurveTo"
esvg::render::ElementBezierSmoothCurveTo::ElementBezierSmoothCurveTo(bool _relative, const vec2& _pos):
Element(esvg::render::path_bezierSmoothCurveTo, _relative) {
m_pos = _pos;
}
std::string esvg::render::ElementBezierSmoothCurveTo::display() const {
return std::string("pos=") + etk::to_string(m_pos);
}