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

Function _GetRGB

xdevice.cpp:81–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)
84 { _SetRGB(_PbXY(b, x, y), RgbR(kv), RgbG(kv), RgbB(kv)); }
85KV BmpGetXY(CONST Bitmap *b, int x, int y)

Callers 4

BmpCopyBlockFunction · 0.85
BmpCopyBlock2Function · 0.85
FBmpShrinkToWinFunction · 0.85
FBmpDrawBackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected