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

Method getBitmapAt

Engine/Image.cpp:589–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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