MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getBitmapAt

Method getBitmapAt

Engine/Image.cpp:590–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588}
589
590const char*
591Bitmap::getBitmapAt(int x,
592 int y) const
593{
594 if ( ( x >= _bounds.left() ) && ( x < _bounds.right() ) && ( y >= _bounds.bottom() ) && ( y < _bounds.top() ) ) {
595 return BM_GET(y, x);
596 } else {
597 return NULL;
598 }
599}
600
601char*
602Bitmap::getBitmapAt(int x,

Callers 4

printUnrenderedPixelsMethod · 0.45
halveRoIForDepthMethod · 0.45
copyRowPortionMethod · 0.45
copyBitmapPortionMethod · 0.45

Calls 4

leftMethod · 0.45
rightMethod · 0.45
bottomMethod · 0.45
topMethod · 0.45

Tested by

no test coverage detected