view engine/core/view/renderers/geometricrenderer.i @ 23:e5e2fec68834

add generic renderer
author spq@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 11 Jul 2008 10:42:31 +0000
parents ae46cee19e76
children
line wrap: on
line source

%module fife
%{
#include "view/renderers/geometricrenderer.h"
%}

namespace FIFE {
	class RenderBackend;
	
	class GeometricRenderer: public RendererBase {
	public:
		virtual ~GeometricRenderer();
		std::string getName();
		void addLine(Point p1, Point p2, int r, int g, int b);
		void removeAllLines();
		static GeometricRenderer* getInstance(IRendererContainer* cnt);
	private:
		GeometricRenderer(RenderBackend* renderbackend, int position);
	};
}