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

Function _GetXY

xdevice.cpp:79–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77INLINE KV _GetP(CONST byte *pb)
78 { return (*pb << 16) | (*(pb+1) << 8) | *(pb+2); }
79INLINE KV _GetXY(CONST Bitmap *b, int x, int y)
80 { return _GetP(_PbXY(b, x, y)); }
81INLINE void _GetRGB(CONST byte *pb, int *r, int *g, int *b)
82 { *b = *pb; *g = *(pb+1); *r = *(pb+2); }
83void BmpSetXY(Bitmap *b, int x, int y, KV kv)

Callers 6

BmpGetXYFunction · 0.85
GetXYFunction · 0.85
BmGetXYFunction · 0.85
WriteBmp2Function · 0.85
BmpCopyBlock2Function · 0.85
FBmpDrawMapFunction · 0.85

Calls 2

_GetPFunction · 0.85
_PbXYFunction · 0.85

Tested by

no test coverage detected