Definition at line 241 of file Reporter.h. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(), mStatusImage, mStatusImageColWidth, mStatusImageHeight, mStatusImageRowHeight, mStatusImageWidth, and Impala::Core::Array::Pattern::PtrWrite(). Referenced by Reporter(). 00242 { 00243 static const Vec3Int32 colorBlack(0, 0, 0); 00244 00245 mStatusImage = Core::Array::ArrayCreate<Array2dVec3UInt8> 00246 (mStatusImageWidth, mStatusImageHeight, 0, 0); 00247 00248 // draw vertical grid lines 00249 for (int x = 0; x <= mStatusImageWidth; x += mStatusImageColWidth) 00250 for (int y = 0; y < mStatusImageHeight; y++) 00251 Array::Pattern::PtrWrite(mStatusImage->CPB(x, y), colorBlack); 00252 00253 // draw horizontal grid lines 00254 for (int y = 0; y <= mStatusImageHeight; y += mStatusImageRowHeight) 00255 for (int x = 0; x < mStatusImageWidth; x++) 00256 Array::Pattern::PtrWrite(mStatusImage->CPB(x, y), colorBlack); 00257 }
Here is the call graph for this function:
|