MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / _PbXY

Function _PbXY

xdevice.cpp:73–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 8

_GetXYFunction · 0.85
BmpSetXYFunction · 0.85
FReadBmpFunction · 0.85
BmpSetAllFunction · 0.85
BmpCopyBlockFunction · 0.85
BmpCopyBlock2Function · 0.85
FBmpShrinkToWinFunction · 0.85
FBmpDrawBackFunction · 0.85

Calls 1

_IbXYFunction · 0.85

Tested by

no test coverage detected