Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
Graphics.cc File ReferenceDetailed Description
Definition in file Graphics.cc.
Include dependency graph for Graphics.cc:
![]() Go to the source code of this file.
Define Documentation
Value: { \ unsigned int rowoffset=(p-img)-(p-img)/yInc*yInc; \ if(p<img || p>=img+h*yInc || rowoffset>=w*xInc || rowoffset/xInc*xInc!=rowoffset) { \ cout << "Graphics Bad draw! line:" << __LINE__ << " frame=" << (gen!=NULL?gen->getFrameNumber():0) << ' ' /*<< (void*)p << '-' << (void*)img << '='*/ << (int)(p-img) << " w=" << w << " xInc=" << xInc << " h=" << h << " yInc=" << yInc << endl; \ ERR_F; \ } \ }
Definition at line 10 of file Graphics.cc. Referenced by Graphics::drawLine(), and Graphics::drawRect().
|
Tekkotsu v4.0 |
Generated Thu Nov 22 00:55:57 2007 by Doxygen 1.5.4 |