Example #1
0
File: Tag.cpp Project: play113/swer
void CTag::glCommands(bool select, bool marked, bool no_color)
{
	if(marked)
	{
		glColor3ub(0, 0, 0);
		glRasterPos2dv(m_pos);
		glBitmap(16, 5, 8, 3, 10.0, 0.0, bmp16);

		glColor3ub(0, 0, 255);
		glRasterPos2dv(m_pos);
		glBitmap(16, 16, 8, 8, 10.0, 0.0, cross16);
	}
}
Example #2
0
File: g_render.c Project: aosm/X11
void __glXDisp_RasterPos2dv(GLbyte *pc)
{

#ifdef __GLX_ALIGN64
	if ((unsigned long)(pc) & 7) {
	    __GLX_MEM_COPY(pc-4, pc, 16);
	    pc -= 4;
	}
#endif
	glRasterPos2dv( 
		(GLdouble *)(pc + 0)
	);
}
Example #3
0
/////////////////////////////////////////////////////////
// Render
//
void GEMglRasterPos2dv :: render(GemState *state) {
	glRasterPos2dv (v);
}
Example #4
0
template< > inline void glRasterPos2v< Vector3r >	( const Vector3r v )		{	glRasterPos2dv((double*)&v);	};
Example #5
0
M(void, glRasterPos2dv, jobject v) {
	glRasterPos2dv(BUFF(GLdouble, v));
}