| 71 | INLINE long _IbXY(CONST Bitmap *b, int x, int y) |
| 72 | { return y*(b->clRow << 2) + (x * cbPixelK); } |
| 73 | INLINE byte *_PbXY(CONST Bitmap *b, int x, int y) |
| 74 | { return &(b->rgb)[_IbXY(b, x, y)]; } |
| 75 | INLINE void _SetRGB(byte *pb, int r, int g, int b) |
| 76 | { *pb = b; *(pb+1) = g; *(pb+2) = r; } |
| 77 | INLINE KV _GetP(CONST byte *pb) |
no test coverage detected