Searched refs:REAL_SIZE (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/image/
H A Dimage.cpp304 REAL_SIZE = SIZE - 2*BORDER enumerator in enum:MyRawBitmapFrame::__anon429
346 wxSize(REAL_SIZE, REAL_SIZE));
356 for ( int y = 0; y < REAL_SIZE; ++y )
360 int r = y < REAL_SIZE/3 ? 255 : 0,
361 g = (REAL_SIZE/3 <= y) && (y < 2*(REAL_SIZE/3)) ? 255 : 0,
362 b = 2*(REAL_SIZE/3) <= y ? 255 : 0;
364 for ( int x = 0; x < REAL_SIZE; ++x )
367 unsigned a = (wxAlphaPixelData::Iterator::ChannelType)((x*255.)/REAL_SIZE);
[all...]

Completed in 46 milliseconds