Go to the documentation of this file.
4 #ifndef tools_sg_gl2ps_manager
5 #define tools_sg_gl2ps_manager
18 virtual
void*
cast(const std::
string& a_class)
const {
19 if(
void* p = cmp_cast<gl2ps_manager>(
this,a_class)) {
return p;}
23 virtual bool begin_render(
int,
int,
unsigned int,
unsigned int,
float,
float,
float,
float,
bool =
true) {
return true;}
35 gstos_t::const_iterator it =
m_gstos.find(a_id);
36 if(it==
m_gstos.end())
return false;
40 gstos_t::iterator it =
m_gstos.find(a_id);
53 mem::increment(s_class().c_str());
59 mem::decrement(s_class().c_str());
69 mem::increment(s_class().c_str());
73 if(&a_from==
this)
return *
this;
80 gstos_t::iterator it =
m_gstos.find(a_id);
81 if(it==
m_gstos.end())
return false;
89 typedef std::map<unsigned int,img_byte>
gstos_t;
#define TOOLS_SCLASS(a_name)